mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
add MODIFY_IN_PLACE as mode prop on edit-gas-popover (#11527)
This is necessary for the submit method to call the right background process
This commit is contained in:
parent
8e5ebfb05a
commit
4aab4887d5
@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
|
|||||||
import SenderToRecipient from '../../ui/sender-to-recipient';
|
import SenderToRecipient from '../../ui/sender-to-recipient';
|
||||||
import { PageContainerFooter } from '../../ui/page-container';
|
import { PageContainerFooter } from '../../ui/page-container';
|
||||||
import EditGasPopover from '../edit-gas-popover';
|
import EditGasPopover from '../edit-gas-popover';
|
||||||
|
import { EDIT_GAS_MODES } from '../../../../shared/constants/gas';
|
||||||
import {
|
import {
|
||||||
ConfirmPageContainerHeader,
|
ConfirmPageContainerHeader,
|
||||||
ConfirmPageContainerContent,
|
ConfirmPageContainerContent,
|
||||||
@ -193,6 +194,7 @@ export default class ConfirmPageContainer extends Component {
|
|||||||
)}
|
)}
|
||||||
{editingGas && (
|
{editingGas && (
|
||||||
<EditGasPopover
|
<EditGasPopover
|
||||||
|
mode={EDIT_GAS_MODES.MODIFY_IN_PLACE}
|
||||||
onClose={handleCloseEditGas}
|
onClose={handleCloseEditGas}
|
||||||
transaction={currentTransaction}
|
transaction={currentTransaction}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user