web: fix double app refresh on logout

This commit is contained in:
Abdullah Atta
2024-03-29 15:48:41 +05:00
parent 6ce08b5aa3
commit 1a1e673a6c

View File

@@ -93,7 +93,6 @@ class UserStore extends BaseStore<UserStore> {
state.isLoggedIn = false;
});
config.clear();
EV.publish(EVENTS.appRefreshRequested);
if (reason) {
await showAccountLoggedOutNotice(reason);
}