From 04401ec2ed8d77afdd6513cf5b8262fba5a2f356 Mon Sep 17 00:00:00 2001 From: Nya Candy Date: Mon, 1 Apr 2024 20:59:17 +0800 Subject: [PATCH] chore: print debug output for note update --- packages/frontend/src/scripts/use-note-capture.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/scripts/use-note-capture.ts b/packages/frontend/src/scripts/use-note-capture.ts index 50fbffb35..97c2d1522 100644 --- a/packages/frontend/src/scripts/use-note-capture.ts +++ b/packages/frontend/src/scripts/use-note-capture.ts @@ -76,6 +76,7 @@ export function useNoteCapture(props: { } case 'updated': { + console.log(JSON.stringify(note.value)); // Debug output note.value.history = [ ...note.value.history, {