From 4669054af852fba1196b3096e30345087fbe1c92 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 11 Aug 2023 16:08:11 +0000 Subject: [PATCH] fix --- packages/frontend/src/scripts/entity-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/scripts/entity-manager.ts b/packages/frontend/src/scripts/entity-manager.ts index cb7f121054..9577541994 100644 --- a/packages/frontend/src/scripts/entity-manager.ts +++ b/packages/frontend/src/scripts/entity-manager.ts @@ -147,7 +147,7 @@ export class NoteManager { if (this.isDebuggerEnabled) { console.log('NoteManager: set note (new)', note.id, { src: note, ref: this.notesSource.value.get(note.id) }); - watch(this.notesSource.value.get(note.id)!, newVal => { + watch(() => this.notesSource.value.get(note.id)!, newVal => { console.log('NoteManager: note source updated', newVal.id, newVal); }); }