mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add low/medium/high gas recommendations to the speedup/cancel gas popovers (#11818)
This commit is contained in:
parent
3ce4e9ed1f
commit
a073e0bb7e
@ -100,8 +100,7 @@ export default function EditGasDisplay({
|
|||||||
const radioButtonsEnabled =
|
const radioButtonsEnabled =
|
||||||
networkAndAccountSupport1559 &&
|
networkAndAccountSupport1559 &&
|
||||||
gasEstimateType === GAS_ESTIMATE_TYPES.FEE_MARKET &&
|
gasEstimateType === GAS_ESTIMATE_TYPES.FEE_MARKET &&
|
||||||
!requireDappAcknowledgement &&
|
!requireDappAcknowledgement;
|
||||||
![EDIT_GAS_MODES.SPEED_UP, EDIT_GAS_MODES.CANCEL].includes(mode);
|
|
||||||
|
|
||||||
let errorKey;
|
let errorKey;
|
||||||
if (balanceError) {
|
if (balanceError) {
|
||||||
|
Loading…
Reference in New Issue
Block a user