1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

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

This commit is contained in:
David Walsh 2021-07-15 12:24:03 -05:00 committed by GitHub
parent 1665617378
commit 8e5ebfb05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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