refactor: remove settings visibility logic and add TODO for future implementation
This commit is contained in:
@@ -423,7 +423,6 @@ export default function ChatBOX() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const [showSettings, setShowSettings] = useState(false);
|
|
||||||
const userInputRef = useRef<HTMLInputElement>(null);
|
const userInputRef = useRef<HTMLInputElement>(null);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -537,7 +536,8 @@ export default function ChatBOX() {
|
|||||||
<div className="text-sm font-bold">System Prompt</div>
|
<div className="text-sm font-bold">System Prompt</div>
|
||||||
<div
|
<div
|
||||||
className="cursor-pointer"
|
className="cursor-pointer"
|
||||||
onClick={() => setShowSettings(true)}
|
// onClick={() => setShowSettings(true)}
|
||||||
|
// TODO: add a button to show settings
|
||||||
>
|
>
|
||||||
{chatStore.systemMessageContent}
|
{chatStore.systemMessageContent}
|
||||||
</div>
|
</div>
|
||||||
@@ -547,7 +547,7 @@ export default function ChatBOX() {
|
|||||||
<ChatBubbleAction
|
<ChatBubbleAction
|
||||||
className="size-7"
|
className="size-7"
|
||||||
icon={<Settings2Icon className="size-4" />}
|
icon={<Settings2Icon className="size-4" />}
|
||||||
onClick={() => setShowSettings(true)}
|
// TODO: add a button to show settings
|
||||||
/>
|
/>
|
||||||
</ChatBubbleActionWrapper>
|
</ChatBubbleActionWrapper>
|
||||||
</ChatBubble>
|
</ChatBubble>
|
||||||
|
|||||||
Reference in New Issue
Block a user