From 47af2abe2c7dfa1b18494092278cbfb0a54f5db5 Mon Sep 17 00:00:00 2001
From: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
Date: Wed, 26 Oct 2022 18:49:54 +0530
Subject: refactor: convert AccountDashboard to typescript

---
 src/containers/settings/AccountScreen.tsx | 7 -------
 1 file changed, 7 deletions(-)

(limited to 'src/containers/settings/AccountScreen.tsx')

diff --git a/src/containers/settings/AccountScreen.tsx b/src/containers/settings/AccountScreen.tsx
index e072b28af..55aa1e5c9 100644
--- a/src/containers/settings/AccountScreen.tsx
+++ b/src/containers/settings/AccountScreen.tsx
@@ -9,12 +9,6 @@ import { LIVE_FRANZ_API } from '../../config';
 import { WEBSITE } from '../../environment-remote';
 
 class AccountScreen extends Component<StoresProps> {
-  onCloseWindow(): void {
-    const { user, features } = this.props.stores;
-    user.getUserInfoRequest.invalidate({ immediately: true });
-    features.featuresRequest.invalidate({ immediately: true });
-  }
-
   reloadData(): void {
     const { user } = this.props.stores;
 
@@ -53,7 +47,6 @@ class AccountScreen extends Component<StoresProps> {
             user.getUserInfoRequest.isError
           }
           retryUserInfoRequest={() => this.reloadData()}
-          onCloseSubscriptionWindow={() => this.onCloseWindow()}
           deleteAccount={userActions.delete}
           isLoadingDeleteAccount={user.deleteAccountRequest.isExecuting}
           isDeleteAccountSuccessful={
-- 
cgit v1.2.3-54-g00ecf

