diff --git a/src/pages/chatting/Chatting.tsx b/src/pages/chatting/Chatting.tsx index 33cb7b9..9ad6fb5 100644 --- a/src/pages/chatting/Chatting.tsx +++ b/src/pages/chatting/Chatting.tsx @@ -98,6 +98,7 @@ const Chatting = () => { navigateHome() } const navigateHome = () => { + disconnect() setTimeout(() => { navigate('/') }, 3000)