diff --git a/src/components/Chat.tsx b/src/components/Chat.tsx index a5d8cf9..bf0bd1d 100644 --- a/src/components/Chat.tsx +++ b/src/components/Chat.tsx @@ -28,7 +28,7 @@ const Chat = () => { return () => { window.removeEventListener('resize', updateDividerWidth); }; - }); + }, []); useEffect(() => { const scroll = () => {