Update InputMenu to use clientChatStore.reset() instead of setActiveConversation when closing.

This commit is contained in:
geoffsee
2025-07-16 21:27:50 -04:00
committed by Geoff Seemueller
parent 0183503425
commit f055cd39fe

View File

@@ -171,7 +171,7 @@ const InputMenu: React.FC<{ isDisabled?: boolean }> = observer(({ isDisabled })
bg="background.tertiary" bg="background.tertiary"
color="text.primary" color="text.primary"
onClick={() => { onClick={() => {
clientChatStore.setActiveConversation('conversation:new'); clientChatStore.reset();
onClose(); onClose();
}} }}
_hover={{ bg: 'rgba(0, 0, 0, 0.05)' }} _hover={{ bg: 'rgba(0, 0, 0, 0.05)' }}