diff --git a/frontend/src/page/ChatPage.js b/frontend/src/page/ChatPage.js index de7361f..6bd01f0 100644 --- a/frontend/src/page/ChatPage.js +++ b/frontend/src/page/ChatPage.js @@ -29,7 +29,7 @@ const ChatPage = () => { setIsLoaded(true); }; fetchData(); - }); + }, []); if (!isLoaded) return (); return ( <>