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: sync and navigation crash
thecodrr1c50f98b42ed
diff --git a/apps/web/src/app.js b/apps/web/src/app.jsindex 540286bd6..aa2561e52 100644--- a/apps/web/src/app.js+++ b/apps/web/src/app.js@@ -209,10 +209,10 @@ function CachedRouter() {return (<RouteContainerid="mainRouteContainer"- type={RouteResult.type}- title={RouteResult.title}- subtitle={RouteResult.subtitle}- buttons={RouteResult.buttons}+ type={RouteResult?.type}+ title={RouteResult?.title}+ subtitle={RouteResult?.subtitle}+ buttons={RouteResult?.buttons}/>);}diff --git a/apps/web/src/stores/trash-store.js b/apps/web/src/stores/trash-store.jsindex 3df988238..d55d1f1f7 100644--- a/apps/web/src/stores/trash-store.js+++ b/apps/web/src/stores/trash-store.js@@ -2,6 +2,7 @@ import { db } from "../common/index";import createStore from "../common/store";import BaseStore from "./index";import { store as appStore } from "./app-store";+import { store as notestore } from "./note-store";class TrashStore extends BaseStore {trash = [];@@ -24,6 +25,7 @@ class TrashStore extends BaseStore {return db.trash.restore(id).then(() => {this.set((state) => (state.trash = db.trash.all));appStore.refreshColors();+ notestore.refresh();});};