From a54c117c766511237c637ead88b40ebccbf69922 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 19:26:43 +0000 Subject: [PATCH] fix: address code review feedback on NoteHistory component Co-authored-by: fredicious <1580688+fredicious@users.noreply.github.com> --- src/lib/components/NoteHistory.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/components/NoteHistory.svelte b/src/lib/components/NoteHistory.svelte index 65550ab..1b84c60 100644 --- a/src/lib/components/NoteHistory.svelte +++ b/src/lib/components/NoteHistory.svelte @@ -21,6 +21,8 @@ let showConfirm = $state(false); $effect(() => { + // Track noteId explicitly so this only re-runs when the note changes + noteId; void loadVersions(); }); @@ -122,9 +124,9 @@ -