mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Move confirm-transaction/conf-tx.js to confirm-signature-request (#17408)
This commit is contained in:
parent
493ab6cbd9
commit
db09719e45
@ -1238,6 +1238,7 @@
|
||||
"ui/pages/confirm-send-token/confirm-send-token.js",
|
||||
"ui/pages/confirm-send-token/confirm-send-token.stories.js",
|
||||
"ui/pages/confirm-send-token/index.js",
|
||||
"ui/pages/confirm-signature-request/index.js",
|
||||
"ui/pages/confirm-token-transaction-base/confirm-token-transaction-base.js",
|
||||
"ui/pages/confirm-token-transaction-base/confirm-token-transaction-base.stories.js",
|
||||
"ui/pages/confirm-token-transaction-base/index.js",
|
||||
@ -1251,7 +1252,6 @@
|
||||
"ui/pages/confirm-transaction-switch/confirm-transaction-switch.component.js",
|
||||
"ui/pages/confirm-transaction-switch/confirm-transaction-switch.container.js",
|
||||
"ui/pages/confirm-transaction-switch/index.js",
|
||||
"ui/pages/confirm-transaction/conf-tx.js",
|
||||
"ui/pages/confirm-transaction/confirm-token-transaction-switch.js",
|
||||
"ui/pages/confirm-transaction/confirm-transaction.component.js",
|
||||
"ui/pages/confirm-transaction/confirm-transaction.container.js",
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import configureMockStore from 'redux-mock-store';
|
||||
import { renderWithProvider } from '../../../test/lib/render-helpers';
|
||||
import ConfTx from './conf-tx';
|
||||
import ConfTx from '.';
|
||||
|
||||
const mockState = {
|
||||
metamask: {
|
@ -25,8 +25,8 @@ import {
|
||||
addPollingTokenToAppState,
|
||||
removePollingTokenFromAppState,
|
||||
} from '../../store/actions';
|
||||
import ConfirmSignatureRequest from '../confirm-signature-request';
|
||||
import ConfirmTokenTransactionSwitch from './confirm-token-transaction-switch';
|
||||
import ConfTx from './conf-tx';
|
||||
|
||||
export default class ConfirmTransaction extends Component {
|
||||
static contextTypes = {
|
||||
@ -185,7 +185,7 @@ export default class ConfirmTransaction extends Component {
|
||||
<Route
|
||||
exact
|
||||
path={`${CONFIRM_TRANSACTION_ROUTE}/:id?${SIGNATURE_REQUEST_PATH}`}
|
||||
component={ConfTx}
|
||||
component={ConfirmSignatureRequest}
|
||||
/>
|
||||
<Route
|
||||
exact
|
||||
|
Loading…
Reference in New Issue
Block a user