Skip to content

Commit

Permalink
Fix:Uncommented useLeavechat
Browse files Browse the repository at this point in the history
  • Loading branch information
kitretsu2809 committed Sep 30, 2024
1 parent 365e743 commit 3b2b92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/pages/chat_bot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit 3b2b92a

Please sign in to comment.