fix: socket connection
This commit is contained in:
parent
1502047bf2
commit
0679f99bb7
@ -431,7 +431,7 @@ export default function CodeEditor({
|
||||
return () => {
|
||||
socket?.disconnect()
|
||||
}
|
||||
}, [])
|
||||
}, [socket])
|
||||
|
||||
// Socket event listener effect
|
||||
useEffect(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user