Skip to content

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

fix: refresh colors when a note is deleted

thecodrrf8676f88e8ee
diff --git a/apps/web/src/stores/note-store.js b/apps/web/src/stores/note-store.js
index 29fca34b7..cac682574 100644
--- a/apps/web/src/stores/note-store.js
+++ b/apps/web/src/stores/note-store.js
@@ -64,6 +64,7 @@ class NoteStore extends BaseStore {
await db.notes.delete(id);
this.refreshContext();
this.refresh();
+ appStore.refreshColors();
const { session, newSession } = editorStore.get();
if (session.id === id) {
newSession();