diff --git a/frontend/pages/chat_bot.tsx b/frontend/pages/chat_bot.tsx index f391ee9..0798206 100644 --- a/frontend/pages/chat_bot.tsx +++ b/frontend/pages/chat_bot.tsx @@ -26,7 +26,7 @@ export default function Home() { useSettings({soundEnabled,notificationsEnabled}); useWebsocketForChatbot({socketRef,setMessages,router}); useVisibilityChange({setUnreadCount}); - // useLeaveChat(router); + useLeaveChat(router); useEffect(() => setTopic(router.query.topic as string ?? "Appetizer"), [router.query]);