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: do not crash app if default notes are not loaded
thecodrr700e7540fab8
diff --git a/apps/web/src/common/db.js b/apps/web/src/common/db.jsindex 419e4312a..b39973a06 100644--- a/apps/web/src/common/db.js+++ b/apps/web/src/common/db.js@@ -25,8 +25,10 @@ function initializeDatabase() {await db.init();if (!isAppHydrated()) {- setAppHydrated();- loadDefaultNotes(db);+ try {+ await loadDefaultNotes(db);+ setAppHydrated();+ } catch (e) {}}});}