diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-08-01 14:21:58 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-08-08 15:26:34 +0200 |
| commit | 2f6e76531419c0653212410dc992bf952ee5fbe5 (patch) | |
| tree | 43e2eae17b1ae61da6a05a2e333b88cc6060b2ee /app/components/Account.js | |
| parent | 21c62239a0ef590e77f3a5a3448f36259755d6d8 (diff) | |
| download | mullvadvpn-2f6e76531419c0653212410dc992bf952ee5fbe5.tar.xz mullvadvpn-2f6e76531419c0653212410dc992bf952ee5fbe5.zip | |
Pull account expiry on demand
Diffstat (limited to 'app/components/Account.js')
| -rw-r--r-- | app/components/Account.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/components/Account.js b/app/components/Account.js index 2edf277fa4..dd4994c76c 100644 --- a/app/components/Account.js +++ b/app/components/Account.js @@ -12,7 +12,7 @@ import { formatAccount } from '../lib/formatters'; import type { AccountToken } from '../lib/daemon-rpc'; -export type AccountProps = { +type Props = { accountToken: AccountToken, accountExpiry: string, expiryLocale: string, @@ -28,7 +28,7 @@ type State = { showAccountTokenCopiedMessage: boolean, }; -export default class Account extends Component<AccountProps, State> { +export default class Account extends Component<Props, State> { state = { isRefreshingExpiry: false, showAccountTokenCopiedMessage: false, @@ -119,7 +119,7 @@ export default class Account extends Component<AccountProps, State> { <Text style={styles.account__row_label}>Paid until</Text> {isOutOfTime ? ( <Text style={styles.account__out_of_time} testName="account__out_of_time"> - OUT OF TIME + {'OUT OF TIME'} </Text> ) : ( <Text style={styles.account__row_value}>{formattedExpiry}</Text> |
