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
fix crash on when fetching new topics
ammarahm-ede1bf97bf6842
diff --git a/apps/mobile/src/views/Notebook/index.js b/apps/mobile/src/views/Notebook/index.jsindex 72cc10e5e..245155a7f 100644--- a/apps/mobile/src/views/Notebook/index.js+++ b/apps/mobile/src/views/Notebook/index.js@@ -29,8 +29,10 @@ export const Notebook = ({route, navigation}) => {const runAfterInteractions = (time = 400) => {InteractionManager.runAfterInteractions(() => {- let notebook = db.notebooks.notebook(params.notebook?.id).data;- params.notebook = notebook;+ let notebook = db.notebooks.notebook(params?.notebook?.id)?.data;+ if (notebook) {+ params.notebook = notebook;+ }params.title = params.notebook.title;setTopics(notebook.topics);setTimeout(() => {