From 23c2acaab7866902b97f9f38689c0ecae538ec38 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 23 Sep 2025 20:18:43 +0300 Subject: [PATCH] fix(client): note title shown for read-only notes for the first time --- apps/client/src/widgets/note_title.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/note_title.tsx b/apps/client/src/widgets/note_title.tsx index b3323fb1c..8207198d6 100644 --- a/apps/client/src/widgets/note_title.tsx +++ b/apps/client/src/widgets/note_title.tsx @@ -34,7 +34,7 @@ export default function NoteTitleWidget() { if (isReadOnly) { noteContext?.getNavigationTitle().then(setNavigationTitle); } - }, [noteContext, isReadOnly]); + }, [note, isReadOnly]); // Save changes to title. const spacedUpdate = useSpacedUpdate(async () => {