mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
EIP-1559 - Disable gas form submission if estimates are loading state (#11525)
This commit is contained in:
parent
1665617378
commit
8e5ebfb05a
@ -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…
Reference in New Issue
Block a user