diff --git a/src/renderer/src/pages/home/Tabs/TopicsTab.tsx b/src/renderer/src/pages/home/Tabs/TopicsTab.tsx index 6d68ac28..b638af15 100644 --- a/src/renderer/src/pages/home/Tabs/TopicsTab.tsx +++ b/src/renderer/src/pages/home/Tabs/TopicsTab.tsx @@ -202,7 +202,7 @@ const Topics: FC = ({ assistant: _assistant, activeTopic, setActiveTopic allowClear: true } }) - prompt && updateTopic({ ...topic, prompt: prompt.trim() }) + prompt !== null && updateTopic({ ...topic, prompt: prompt.trim() }) } }, {