fix: socket connection
This commit is contained in:
parent
1d92b6ea6f
commit
6be2c02506
@ -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(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user