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: handle errors during bootstrapping
Abdullah Attaef93ecc48149
diff --git a/apps/web/src/root.tsx b/apps/web/src/root.tsxindex d28ea0a45..361881948 100644--- a/apps/web/src/root.tsx+++ b/apps/web/src/root.tsx@@ -106,7 +106,12 @@ function RouteWrapper(props: {return Component;}, [component, path]);- if (result.status !== "fulfilled")+ if (result.status === "rejected") {+ throw result.reason instanceof Error+ ? result.reason+ : new Error(result.reason);+ }+ if (result.status === "pending")return (<divstyle={{