mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-03 19:30:04 +08:00
fix(TopicsTab): Topic prompts cannot be cleared
This commit is contained in:
parent
ed343f51c3
commit
1c0da4127f
@ -202,7 +202,7 @@ const Topics: FC<Props> = ({ assistant: _assistant, activeTopic, setActiveTopic
|
|||||||
allowClear: true
|
allowClear: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
prompt && updateTopic({ ...topic, prompt: prompt.trim() })
|
prompt !== null && updateTopic({ ...topic, prompt: prompt.trim() })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user