summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/app.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx
index f4e711f3ff..84d8c631eb 100644
--- a/gui/src/renderer/app.tsx
+++ b/gui/src/renderer/app.tsx
@@ -336,8 +336,7 @@ export default class AppRenderer {
}
public leaveRevokedDevice = async () => {
- const reduxAccount = this.reduxActions.account;
- reduxAccount.loggedOut();
+ await this.logout();
this.resetNavigation();
await this.disconnectTunnel();
};