diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-08-01 14:39:00 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-08-06 17:57:24 +0200 |
| commit | 7ca1a8e1a3eecd18ee4acea2007b22092da97fd9 (patch) | |
| tree | c279d261fad33222c3fb7e0c45904b2915f21f1b /app/components | |
| parent | d37e4c43f64941605c7d1f3ffe5fcc3fa48f3e22 (diff) | |
| download | mullvadvpn-7ca1a8e1a3eecd18ee4acea2007b22092da97fd9.tar.xz mullvadvpn-7ca1a8e1a3eecd18ee4acea2007b22092da97fd9.zip | |
Fix invalid initial state in Account view
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Account.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/components/Account.js b/app/components/Account.js index 2534a3e40c..2edf277fa4 100644 --- a/app/components/Account.js +++ b/app/components/Account.js @@ -23,14 +23,15 @@ export type AccountProps = { onBuyMore: () => void, }; -export type AccountState = { +type State = { isRefreshingExpiry: boolean, + showAccountTokenCopiedMessage: boolean, }; -export default class Account extends Component<AccountProps, AccountState> { +export default class Account extends Component<AccountProps, State> { state = { isRefreshingExpiry: false, - showAccountCopiedMessage: false, + showAccountTokenCopiedMessage: false, }; _activationStateToken: ?Types.SubscriptionToken; |
