This commit is contained in:
Timothy Jaeryang Baek
2026-07-15 22:45:00 -04:00
parent 9e2536aa57
commit 588f129695
17 changed files with 54 additions and 33 deletions
+2 -2
View File
@@ -193,7 +193,7 @@
token: localStorage.token
}
});
$socket?.on('note-events', noteEventHandler);
$socket?.on('events:note', noteEventHandler);
}
} else {
goto('/');
@@ -829,7 +829,7 @@ ${content}
onDestroy(() => {
console.log('destroy');
$socket?.off('note-events', noteEventHandler);
$socket?.off('events:note', noteEventHandler);
const dropzoneElement = document.getElementById('note-editor');