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: use updated state when checking notes length in home
thecodrr34b3e7683d94
diff --git a/apps/web/src/views/home.js b/apps/web/src/views/home.jsindex 83d4c3bd7..5fce48509 100644--- a/apps/web/src/views/home.js+++ b/apps/web/src/views/home.js@@ -17,7 +17,7 @@ function Home() {useEffect(() => {(async function () {const intitialized = db.notes.initialized;- if (!intitialized || !store.notes.length) {+ if (!intitialized || !store.get().notes.length) {await db.notes.init();store.refresh();setIsLoading(false);