From 3b2b92a4057cb18adabea65e6cfc6d7f0781ec5d Mon Sep 17 00:00:00 2001 From: kitretsu2809 Date: Tue, 1 Oct 2024 02:21:04 +0530 Subject: [PATCH] Fix:Uncommented useLeavechat --- frontend/pages/chat_bot.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);