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 when opening a random unregistered route
thecodrr6e1702314116
diff --git a/apps/web/src/components/cached-router/index.js b/apps/web/src/components/cached-router/index.jsindex b828ca43b..4d7e3f77e 100644--- a/apps/web/src/components/cached-router/index.js+++ b/apps/web/src/components/cached-router/index.js@@ -10,6 +10,7 @@ const cache = {};function CachedRouter() {const RouteResult = useRoutes(routes, { fallbackRoute: "/" });useEffect(() => {+ if (!RouteResult) return;NavigationEvents.publish("onNavigate", RouteResult);const key = RouteResult.key || "general";