fix: socket connection

This commit is contained in:
Akhileshrangani4 2024-09-01 22:04:56 -04:00
parent 1d92b6ea6f
commit 6be2c02506

View File

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