Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: #45

thecodrr914cae225f71
diff --git a/apps/web/src/stores/notebook-store.js b/apps/web/src/stores/notebook-store.js
index 136d135e0..2310b6c4d 100644
--- a/apps/web/src/stores/notebook-store.js
+++ b/apps/web/src/stores/notebook-store.js
@@ -14,7 +14,8 @@ function notebookStore(set) {
let notebook = await db.notebooks.add(nb);
if (notebook) {
set(state => {
- state.notebooks.push(nb);
+ //TODO investigate ways to improve perf
+ state.notebooks = db.notebooks.all;
});
}
},