From 45d405adf3992325ce18eb2942f6539f88decde0 Mon Sep 17 00:00:00 2001 From: ecwu Date: Fri, 3 Jan 2025 01:19:50 +0800 Subject: [PATCH] refactor: remove settings visibility logic and add TODO for future implementation --- src/pages/Chatbox.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Chatbox.tsx b/src/pages/Chatbox.tsx index e7b5353..07a3c91 100644 --- a/src/pages/Chatbox.tsx +++ b/src/pages/Chatbox.tsx @@ -423,7 +423,6 @@ export default function ChatBOX() { } }; - const [showSettings, setShowSettings] = useState(false); const userInputRef = useRef(null); return ( @@ -537,7 +536,8 @@ export default function ChatBOX() {
System Prompt
setShowSettings(true)} + // onClick={() => setShowSettings(true)} + // TODO: add a button to show settings > {chatStore.systemMessageContent}
@@ -547,7 +547,7 @@ export default function ChatBOX() { } - onClick={() => setShowSettings(true)} + // TODO: add a button to show settings />