This commit is contained in:
Timothy Jaeryang Baek
2025-07-12 02:51:51 +04:00
parent 4351702587
commit 01420fd189
2 changed files with 5 additions and 5 deletions
@@ -289,15 +289,15 @@
}
}
onConnect() {
onConnect = () => {
this.isConnected = true;
this.joinDocument();
}
};
onDisconnect() {
onDisconnect = () => {
this.isConnected = false;
this.synced = false;
}
};
destroy() {
this.socket.off('yjs:document:update');