EIP-1559 - Disable gas form submission if estimates are loading state (#11525)

feature/default_network_editable
David Walsh 3 years ago committed by GitHub
parent 1665617378
commit 8e5ebfb05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      ui/components/app/edit-gas-popover/edit-gas-popover.component.js

@ -172,7 +172,12 @@ export default function EditGasPopover({
<Button <Button
type="primary" type="primary"
onClick={onSubmit} onClick={onSubmit}
disabled={isMaxFeeError || isMaxPriorityFeeError || isGasTooLow} disabled={
isMaxFeeError ||
isMaxPriorityFeeError ||
isGasTooLow ||
isGasEstimatesLoading
}
> >
{footerButtonText} {footerButtonText}
</Button> </Button>

Loading…
Cancel
Save