1
0
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:
Brad Decker 2021-07-15 12:31:51 -05:00 committed by GitHub
parent 8e5ebfb05a
commit 4aab4887d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}
/> />