fix(TopicsTab): Topic prompts cannot be cleared
This commit is contained in:
parent
eeb537048b
commit
7b8c5f185c
@ -202,7 +202,7 @@ const Topics: FC<Props> = ({ assistant: _assistant, activeTopic, setActiveTopic
|
||||
allowClear: true
|
||||
}
|
||||
})
|
||||
prompt && updateTopic({ ...topic, prompt: prompt.trim() })
|
||||
prompt !== null && updateTopic({ ...topic, prompt: prompt.trim() })
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user