diff --git a/src/components/chat/GlobalChatbox.tsx b/src/components/chat/GlobalChatbox.tsx index d01aa9b..2835684 100644 --- a/src/components/chat/GlobalChatbox.tsx +++ b/src/components/chat/GlobalChatbox.tsx @@ -396,7 +396,7 @@ export const GlobalChatbox: React.FC = ({ open, onClose }) => { handleStopSpeech(); stopListening(); setMessages([]); - setConversationId(undefined); + setSessionId(undefined); setInput(""); setIsStreaming(false); handleHeaderMenuClose(); diff --git a/tsconfig.json b/tsconfig.json index d90975c..f25bd34 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,10 @@ "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", + "types": [ + "jest", + "node" + ], "resolveJsonModule": true, "isolatedModules": true, "jsx": "react-jsx",