Browse Source
feat(home): disable submit when unlocking wallet
next
Tom Kirkpatrick
6 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
1 changed files with
2 additions and
2 deletions
-
app/components/Home/WalletUnlocker.js
|
|
@ -95,7 +95,7 @@ class WalletUnlocker extends React.Component { |
|
|
|
} |
|
|
|
|
|
|
|
render = () => { |
|
|
|
const { intl, wallet } = this.props |
|
|
|
const { intl, unlockingWallet, wallet } = this.props |
|
|
|
const walletName = this.walletName(wallet) |
|
|
|
|
|
|
|
return ( |
|
|
@ -121,7 +121,7 @@ class WalletUnlocker extends React.Component { |
|
|
|
validateOnChange={formState.invalid} |
|
|
|
/> |
|
|
|
|
|
|
|
<Button type="submit"> |
|
|
|
<Button type="submit" disable={unlockingWallet} processing={unlockingWallet}> |
|
|
|
<FormattedMessage {...messages.wallet_unlocker_button_label} /> |
|
|
|
</Button> |
|
|
|
</React.Fragment> |
|
|
|