mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
Update InputMenu to use clientChatStore.reset() instead of setActiveConversation when closing.
This commit is contained in:

committed by
Geoff Seemueller

parent
0183503425
commit
f055cd39fe
@@ -171,7 +171,7 @@ const InputMenu: React.FC<{ isDisabled?: boolean }> = observer(({ isDisabled })
|
||||
bg="background.tertiary"
|
||||
color="text.primary"
|
||||
onClick={() => {
|
||||
clientChatStore.setActiveConversation('conversation:new');
|
||||
clientChatStore.reset();
|
||||
onClose();
|
||||
}}
|
||||
_hover={{ bg: 'rgba(0, 0, 0, 0.05)' }}
|
||||
|
Reference in New Issue
Block a user