summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-08-01 14:39:00 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-08-06 17:57:24 +0200
commit7ca1a8e1a3eecd18ee4acea2007b22092da97fd9 (patch)
treec279d261fad33222c3fb7e0c45904b2915f21f1b /app/components
parentd37e4c43f64941605c7d1f3ffe5fcc3fa48f3e22 (diff)
downloadmullvadvpn-7ca1a8e1a3eecd18ee4acea2007b22092da97fd9.tar.xz
mullvadvpn-7ca1a8e1a3eecd18ee4acea2007b22092da97fd9.zip
Fix invalid initial state in Account view
Diffstat (limited to 'app/components')
-rw-r--r--app/components/Account.js7
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;