From c1b10c49380bcff2f60fb2307a36187033cb1717 Mon Sep 17 00:00:00 2001 From: parkyejin Date: Tue, 3 Sep 2024 05:53:35 +0900 Subject: [PATCH] =?UTF-8?q?fix(#63):=201=EC=B4=88=EB=92=A4=20=EC=B1=84?= =?UTF-8?q?=ED=8C=85=EB=B0=A9=20=EB=AA=A9=EB=A1=9D=20=EB=B6=88=EB=9F=AC?= =?UTF-8?q?=EC=98=A4=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/chatting/page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/chatting/page.tsx b/src/app/chatting/page.tsx index 5be4807..fe4cfc4 100644 --- a/src/app/chatting/page.tsx +++ b/src/app/chatting/page.tsx @@ -63,7 +63,9 @@ const Chatting = () => { useEffect(() => { if (userInfo) { - fetchChatRoomsAndConnectSockets() + setTimeout(() => { + fetchChatRoomsAndConnectSockets() + }, 1000) } }, [userInfo])