feat(react/note_title): bring back navigation title

This commit is contained in:
Elian Doran
2025-08-21 11:08:33 +03:00
parent 4da3e8a4d8
commit be576176c5
4 changed files with 29 additions and 19 deletions

View File

@@ -259,7 +259,9 @@ export function useNoteContext() {
notePath: noteContext?.notePath,
hoistedNoteId: noteContext?.hoistedNoteId,
ntxId: noteContext?.ntxId,
componentId: parentComponent.componentId
viewScope: noteContext?.viewScope,
componentId: parentComponent.componentId,
noteContext: noteContext
};
}
@@ -288,6 +290,6 @@ export function useNoteProperty<T extends keyof FNote>(note: FNote | null | unde
setValue(note[property]);
}
});
return value;
}