aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/settings/AccountScreen.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-01-09 15:39:45 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-01-09 15:39:45 +0100
commit08c40f00de99f2e49f07106c241110f7afa71f6c (patch)
tree12e516faca9fb94cf5beee9cd4396f7d869c75de /src/containers/settings/AccountScreen.js
parentMerge branch 'feature/basicAuth' into develop (diff)
downloadferdium-app-08c40f00de99f2e49f07106c241110f7afa71f6c.tar.gz
ferdium-app-08c40f00de99f2e49f07106c241110f7afa71f6c.tar.zst
ferdium-app-08c40f00de99f2e49f07106c241110f7afa71f6c.zip
fix(App): Fix app delay for Premium Supporters
Diffstat (limited to 'src/containers/settings/AccountScreen.js')
-rw-r--r--src/containers/settings/AccountScreen.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/containers/settings/AccountScreen.js b/src/containers/settings/AccountScreen.js
index 019b3d7d6..d681d5226 100644
--- a/src/containers/settings/AccountScreen.js
+++ b/src/containers/settings/AccountScreen.js
@@ -14,6 +14,14 @@ import ErrorBoundary from '../../components/util/ErrorBoundary';
14const { BrowserWindow } = remote; 14const { BrowserWindow } = remote;
15 15
16export default @inject('stores', 'actions') @observer class AccountScreen extends Component { 16export default @inject('stores', 'actions') @observer class AccountScreen extends Component {
17 componentWillMount() {
18 const {
19 user,
20 } = this.props.stores;
21
22 user.getUserInfoRequest.invalidate({ immediately: true });
23 }
24
17 componentDidMount() { 25 componentDidMount() {
18 gaPage('Settings/Account Dashboard'); 26 gaPage('Settings/Account Dashboard');
19 } 27 }