From b155406f4721cb0026313ed70b912f34468b15f9 Mon Sep 17 00:00:00 2001 From: slowbackspace Date: Tue, 30 Apr 2019 10:45:59 +0200 Subject: [PATCH] fix condition --- src/components/modals/passphrase/Passphrase/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modals/passphrase/Passphrase/index.js b/src/components/modals/passphrase/Passphrase/index.js index 7ce59e9e..26ed5e3d 100644 --- a/src/components/modals/passphrase/Passphrase/index.js +++ b/src/components/modals/passphrase/Passphrase/index.js @@ -187,7 +187,7 @@ class Passphrase extends PureComponent { 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(); } }