fix(client): note title shown for read-only notes for the first time

This commit is contained in:
Elian Doran 2025-09-23 20:18:43 +03:00
parent 4cc55b02ab
commit 23c2acaab7
No known key found for this signature in database

View File

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