mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 12:18:09 +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) {
|
||||
if (event.key === 'Enter') {
|
||||
event.preventDefault();
|
||||
if (this.state.doPassphraseInputsMatch && this.state.byteLength < 50) {
|
||||
if (this.state.doPassphraseInputsMatch && this.state.byteLength <= 50) {
|
||||
this.submitPassphrase();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user