mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 10:48:22 +00:00
fix condition
This commit is contained in:
parent
93c9466a52
commit
b155406f47
@ -187,7 +187,7 @@ class Passphrase extends PureComponent<Props, State> {
|
|||||||
handleKeyPress(event: KeyboardEvent) {
|
handleKeyPress(event: KeyboardEvent) {
|
||||||
if (event.key === 'Enter') {
|
if (event.key === 'Enter') {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (this.state.doPassphraseInputsMatch && this.state.byteLength < 50) {
|
if (this.state.doPassphraseInputsMatch && this.state.byteLength <= 50) {
|
||||||
this.submitPassphrase();
|
this.submitPassphrase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user