diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-01-09 15:39:45 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-01-09 15:39:45 +0100 |
commit | 08c40f00de99f2e49f07106c241110f7afa71f6c (patch) | |
tree | 12e516faca9fb94cf5beee9cd4396f7d869c75de /src/containers | |
parent | Merge branch 'feature/basicAuth' into develop (diff) | |
download | ferdium-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')
-rw-r--r-- | src/containers/settings/AccountScreen.js | 8 |
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'; | |||
14 | const { BrowserWindow } = remote; | 14 | const { BrowserWindow } = remote; |
15 | 15 | ||
16 | export default @inject('stores', 'actions') @observer class AccountScreen extends Component { | 16 | export 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 | } |