1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Add low/medium/high gas recommendations to the speedup/cancel gas popovers (#11818)

This commit is contained in:
Alex Donesky 2021-08-13 11:36:45 -05:00 committed by ryanml
parent b7bab56a04
commit 4da940fdd4

View File

@ -100,8 +100,7 @@ export default function EditGasDisplay({
const radioButtonsEnabled =
networkAndAccountSupport1559 &&
gasEstimateType === GAS_ESTIMATE_TYPES.FEE_MARKET &&
!requireDappAcknowledgement &&
![EDIT_GAS_MODES.SPEED_UP, EDIT_GAS_MODES.CANCEL].includes(mode);
!requireDappAcknowledgement;
let errorKey;
if (balanceError) {