A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix subnotebook title not updating on navigate (#7286)
luis-411cb09430ff493
diff --git a/apps/web/src/views/notebook.tsx b/apps/web/src/views/notebook.tsxindex 086705d82..654c75a9b 100644--- a/apps/web/src/views/notebook.tsx+++ b/apps/web/src/views/notebook.tsx@@ -148,7 +148,10 @@ function SubNotebooks({ rootId, isCollapsed, onClick }: SubNotebooksProps) {const toggleSelection = useSelectionStore((store) => store.toggleSelectionMode);- const rootNotebook = usePromise(() => db.notebooks.notebook(rootId));+ const rootNotebook = usePromise(+ () => db.notebooks.notebook(rootId),+ [rootId]+ );const notebooks = useNotebookStore((store) => store.notebooks);useEffect(() => {