mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-24 16:08:11 +00:00
Add text under "Gas limit" input showing that gas limit is being recalculated
This commit is contained in:
parent
e1c1c5c9fc
commit
34a02ee537
@ -106,6 +106,7 @@ const AdvancedForm = (props: Props) => {
|
||||
networkSymbol,
|
||||
currency,
|
||||
recommendedGasPrice,
|
||||
calculatingGasLimit,
|
||||
errors,
|
||||
warnings,
|
||||
infos,
|
||||
@ -160,7 +161,7 @@ const AdvancedForm = (props: Props) => {
|
||||
</Tooltip>
|
||||
</InputLabelWrapper>
|
||||
)}
|
||||
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)}
|
||||
|
Loading…
Reference in New Issue
Block a user