fix: socket connection

This commit is contained in:
Akhileshrangani4 2024-09-01 22:04:56 -04:00 committed by James Murdza
parent 1502047bf2
commit 0679f99bb7

View File

@ -431,7 +431,7 @@ export default function CodeEditor({
return () => {
socket?.disconnect()
}
}, [])
}, [socket])
// Socket event listener effect
useEffect(() => {