From 02be8d869c68054756dfd81b7ae9b0c7e7dba137 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Sun, 5 Mar 2017 10:27:37 +0100 Subject: [PATCH] Fix invalid props (#4767) --- js/src/modals/Verification/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/modals/Verification/store.js b/js/src/modals/Verification/store.js index 6805cb57e..2856a776c 100644 --- a/js/src/modals/Verification/store.js +++ b/js/src/modals/Verification/store.js @@ -44,7 +44,7 @@ export default class VerificationStore { @observable consentGiven = false; @observable requestTx = null; @observable code = ''; - @observable isCodeValid = null; + @observable isCodeValid = false; @observable confirmationTx = null; constructor (api, abi, certifierName, account, isTestnet) { @@ -132,7 +132,7 @@ export default class VerificationStore { const values = [ sha3.text(code) ]; this.code = code; - this.isCodeValid = null; + this.isCodeValid = false; confirm.estimateGas(options, values) .then((gas) => { options.gas = gas.mul(1.2).toFixed(0);