mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add button disabled when password is empty (#7451)
This commit is contained in:
parent
7a6f2693fe
commit
a6e387fddc
@ -120,6 +120,7 @@ ExportPrivateKeyModal.prototype.renderButtons = function (privateKey, address, h
|
||||
type: 'secondary',
|
||||
large: true,
|
||||
className: 'export-private-key__button',
|
||||
disabled: !this.state.password,
|
||||
onClick: () => this.exportAccountAndGetPrivateKey(this.state.password, address),
|
||||
}, this.context.t('confirm'))
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user