|
|
@ -77,7 +77,7 @@ export default function EditGasDisplay({ |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
const [showAdvancedForm, setShowAdvancedForm] = useState( |
|
|
|
const [showAdvancedForm, setShowAdvancedForm] = useState( |
|
|
|
!estimateToUse || hasGasErrors || !networkAndAccountSupport1559, |
|
|
|
!estimateToUse || !networkAndAccountSupport1559, |
|
|
|
); |
|
|
|
); |
|
|
|
const [hideRadioButtons, setHideRadioButtons] = useState( |
|
|
|
const [hideRadioButtons, setHideRadioButtons] = useState( |
|
|
|
showAdvancedInlineGasIfPossible, |
|
|
|
showAdvancedInlineGasIfPossible, |
|
|
@ -241,7 +241,9 @@ export default function EditGasDisplay({ |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
)} |
|
|
|
)} |
|
|
|
{!requireDappAcknowledgement && |
|
|
|
{!requireDappAcknowledgement && |
|
|
|
(showAdvancedForm || showAdvancedInlineGasIfPossible) && ( |
|
|
|
(showAdvancedForm || |
|
|
|
|
|
|
|
hasGasErrors || |
|
|
|
|
|
|
|
showAdvancedInlineGasIfPossible) && ( |
|
|
|
<AdvancedGasControls |
|
|
|
<AdvancedGasControls |
|
|
|
gasEstimateType={gasEstimateType} |
|
|
|
gasEstimateType={gasEstimateType} |
|
|
|
isGasEstimatesLoading={isGasEstimatesLoading} |
|
|
|
isGasEstimatesLoading={isGasEstimatesLoading} |
|
|
|