mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Add fee level education button to swaps edit gas popover (#11785)
This commit is contained in:
parent
d5033249a2
commit
f9378b3aa2
@ -49,7 +49,9 @@ export default function EditGasPopover({
|
||||
const shouldAnimate = useShouldAnimateGasEstimations();
|
||||
|
||||
const showEducationButton =
|
||||
mode === EDIT_GAS_MODES.MODIFY_IN_PLACE && networkAndAccountSupport1559;
|
||||
(mode === EDIT_GAS_MODES.MODIFY_IN_PLACE ||
|
||||
mode === EDIT_GAS_MODES.SWAPS) &&
|
||||
networkAndAccountSupport1559;
|
||||
const [showEducationContent, setShowEducationContent] = useState(false);
|
||||
|
||||
const [warning] = useState(null);
|
||||
|
Loading…
Reference in New Issue
Block a user