prevent passphrase modal enter if not match

pull/2/merge
Szymon Lesisz 6 years ago
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…
Cancel
Save