From 0f97ce61ef7c6511c4edded62f6972fd63a879c5 Mon Sep 17 00:00:00 2001
From: heimoshuiyu
Date: Tue, 30 Jan 2024 10:22:45 +0800
Subject: [PATCH] move source code link to settings
---
src/chatbox.tsx | 9 +--------
src/settings.tsx | 10 ++++++++++
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/src/chatbox.tsx b/src/chatbox.tsx
index c172845..44018c0 100644
--- a/src/chatbox.tsx
+++ b/src/chatbox.tsx
@@ -651,14 +651,7 @@ export default function ChatBOX(props: {
{Tr(
"All chat history and settings are stored in the local browser"
)}
-
⚠{Tr("Documents and source code are avaliable here")}:{" "}
-
- github.com/heimoshuiyu/chatgpt-api-web
-
+
)}
{chatStore.history.map((_, messageIndex) => (
diff --git a/src/settings.tsx b/src/settings.tsx
index 300a65c..3140eab 100644
--- a/src/settings.tsx
+++ b/src/settings.tsx
@@ -776,6 +776,16 @@ export default (props: {
chatgpt-api-web ChatStore {Tr("Version")}{" "}
{props.chatStore.chatgpt_api_web_version}
+
+ ⚠{Tr("Documents and source code are avaliable here")}:{" "}
+
+ github.com/heimoshuiyu/chatgpt-api-web
+
+