mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
fix(mobile): note title not working
This commit is contained in:
@@ -209,7 +209,8 @@ export function useNoteContext() {
|
||||
useTriliumEvent("noteSwitchedAndActivated", ({ noteContext }) => {
|
||||
setNoteContext(noteContext);
|
||||
});
|
||||
useTriliumEvent("noteSwitched", ({ notePath }) => {
|
||||
useTriliumEvent("noteSwitched", ({ notePath, noteContext }) => {
|
||||
setNoteContext(noteContext);
|
||||
setNotePath(notePath);
|
||||
});
|
||||
useTriliumEvent("frocaReloaded", () => {
|
||||
|
||||
Reference in New Issue
Block a user