Skip to content

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

web: fix double app refresh on logout

Abdullah Atta1a1e673a6c06
diff --git a/apps/web/src/stores/user-store.ts b/apps/web/src/stores/user-store.ts
index 064838b7b..74edb075a 100644
--- a/apps/web/src/stores/user-store.ts
+++ b/apps/web/src/stores/user-store.ts
@@ -93,7 +93,6 @@ class UserStore extends BaseStore<UserStore> {
state.isLoggedIn = false;
});
config.clear();
- EV.publish(EVENTS.appRefreshRequested);
if (reason) {
await showAccountLoggedOutNotice(reason);
}