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: selection mode is not toggled off on navigation
thecodrra7cfbfc83661
diff --git a/apps/web/src/utils/use-routes.js b/apps/web/src/utils/use-routes.jsindex c27f1741c..59d5a30cf 100644--- a/apps/web/src/utils/use-routes.js+++ b/apps/web/src/utils/use-routes.js@@ -8,7 +8,8 @@ export default function useRoutes(routes, options) {const matcher = makeMatcher();// TODO move this to an extension function- if (selectionStore.isSelectionMode) selectionStore.toggleSelectionMode(false);+ if (selectionStore.get().isSelectionMode)+ selectionStore.toggleSelectionMode(false);for (var key in routes) {const [match, params] = matcher(key, location);