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 () => {