diff --git a/apps/web/src/stores/monograph-store.ts b/apps/web/src/stores/monograph-store.ts index 29049c16a..addcab15a 100644 --- a/apps/web/src/stores/monograph-store.ts +++ b/apps/web/src/stores/monograph-store.ts @@ -44,7 +44,7 @@ class MonographStore extends BaseStore { unpublish = async (noteId: string) => { await db.monographs.unpublish(noteId); await this.get().refresh(); - noteStore.refreshContext(); + await noteStore.refreshContext(); }; }