mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Add fee level education button to swaps edit gas popover (#11785)
This commit is contained in:
parent
df6c05eb17
commit
f3995b72b0
@ -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