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

feature/default_network_editable
Alex Donesky 3 years ago committed by ryanml
parent b7bab56a04
commit 4da940fdd4
  1. 3
      ui/components/app/edit-gas-display/edit-gas-display.component.js

@ -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) {

Loading…
Cancel
Save