From 34a02ee5371c11e3104940640e70bb678079e3f6 Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Mon, 24 Sep 2018 10:46:33 +0200 Subject: [PATCH] Add text under "Gas limit" input showing that gas limit is being recalculated --- .../Wallet/views/AccountSend/components/AdvancedForm/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/Wallet/views/AccountSend/components/AdvancedForm/index.js b/src/views/Wallet/views/AccountSend/components/AdvancedForm/index.js index cd7f924c..c298d188 100644 --- a/src/views/Wallet/views/AccountSend/components/AdvancedForm/index.js +++ b/src/views/Wallet/views/AccountSend/components/AdvancedForm/index.js @@ -106,6 +106,7 @@ const AdvancedForm = (props: Props) => { networkSymbol, currency, recommendedGasPrice, + calculatingGasLimit, errors, warnings, infos, @@ -160,7 +161,7 @@ const AdvancedForm = (props: Props) => { )} - bottomText={errors.gasLimit || warnings.gasLimit || infos.gasLimit} + bottomText={errors.gasLimit || warnings.gasLimit || infos.gasLimit || (calculatingGasLimit ? 'Calculating...' : '')} value={gasLimit} isDisabled={networkSymbol === currency && data.length > 0} onChange={event => onGasLimitChange(event.target.value)}