mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-25 16:38:08 +00:00
prevent passphrase modal enter if not match
This commit is contained in:
parent
da467f0304
commit
227431fd3f
@ -188,7 +188,9 @@ export default class PinModal extends Component<Props, State> {
|
||||
|
||||
submit = (empty: boolean = false): void => {
|
||||
const { onPassphraseSubmit } = this.props.modalActions;
|
||||
const { passphrase } = this.state;
|
||||
const { passphrase, match } = this.state;
|
||||
|
||||
if (!match) return;
|
||||
|
||||
//this.passphraseInput.type = 'text';
|
||||
// this.passphraseInput.style.display = 'none';
|
||||
|
Loading…
Reference in New Issue
Block a user