1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

EIP-1559 - Fix duplicated networkSupports1559 variables (#11679)

This commit is contained in:
David Walsh 2021-07-30 05:11:27 -05:00 committed by GitHub
parent 5e18013468
commit cbfde8a080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -60,7 +60,6 @@ export default function EditGasDisplay({
warning,
gasErrors,
onManualChange,
networkSupports1559,
}) {
const t = useContext(I18nContext);
@ -267,5 +266,4 @@ EditGasDisplay.propTypes = {
transaction: PropTypes.object,
gasErrors: PropTypes.object,
onManualChange: PropTypes.func,
networkSupports1559: PropTypes.boolean,
};

View File

@ -5,7 +5,6 @@ import { useDispatch, useSelector } from 'react-redux';
import { useGasFeeInputs } from '../../../hooks/useGasFeeInputs';
import { useShouldAnimateGasEstimations } from '../../../hooks/useShouldAnimateGasEstimations';
import { isEIP1559Network } from '../../../ducks/metamask/metamask';
import {
GAS_ESTIMATE_TYPES,
EDIT_GAS_MODES,
@ -43,7 +42,6 @@ export default function EditGasPopover({
const t = useContext(I18nContext);
const dispatch = useDispatch();
const showSidebar = useSelector((state) => state.appState.sidebar.isOpen);
const networkSupports1559 = useSelector(isEIP1559Network);
const shouldAnimate = useShouldAnimateGasEstimations();
@ -229,7 +227,6 @@ export default function EditGasPopover({
hasGasErrors={hasGasErrors}
gasErrors={gasErrors}
onManualChange={onManualChange}
networkSupports1559={networkSupports1559}
{...editGasDisplayProps}
/>
</>