mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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.js",
|
||||||
"ui/pages/confirm-send-token/confirm-send-token.stories.js",
|
"ui/pages/confirm-send-token/confirm-send-token.stories.js",
|
||||||
"ui/pages/confirm-send-token/index.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.js",
|
||||||
"ui/pages/confirm-token-transaction-base/confirm-token-transaction-base.stories.js",
|
"ui/pages/confirm-token-transaction-base/confirm-token-transaction-base.stories.js",
|
||||||
"ui/pages/confirm-token-transaction-base/index.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.component.js",
|
||||||
"ui/pages/confirm-transaction-switch/confirm-transaction-switch.container.js",
|
"ui/pages/confirm-transaction-switch/confirm-transaction-switch.container.js",
|
||||||
"ui/pages/confirm-transaction-switch/index.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-token-transaction-switch.js",
|
||||||
"ui/pages/confirm-transaction/confirm-transaction.component.js",
|
"ui/pages/confirm-transaction/confirm-transaction.component.js",
|
||||||
"ui/pages/confirm-transaction/confirm-transaction.container.js",
|
"ui/pages/confirm-transaction/confirm-transaction.container.js",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import configureMockStore from 'redux-mock-store';
|
import configureMockStore from 'redux-mock-store';
|
||||||
import { renderWithProvider } from '../../../test/lib/render-helpers';
|
import { renderWithProvider } from '../../../test/lib/render-helpers';
|
||||||
import ConfTx from './conf-tx';
|
import ConfTx from '.';
|
||||||
|
|
||||||
const mockState = {
|
const mockState = {
|
||||||
metamask: {
|
metamask: {
|
@ -25,8 +25,8 @@ import {
|
|||||||
addPollingTokenToAppState,
|
addPollingTokenToAppState,
|
||||||
removePollingTokenFromAppState,
|
removePollingTokenFromAppState,
|
||||||
} from '../../store/actions';
|
} from '../../store/actions';
|
||||||
|
import ConfirmSignatureRequest from '../confirm-signature-request';
|
||||||
import ConfirmTokenTransactionSwitch from './confirm-token-transaction-switch';
|
import ConfirmTokenTransactionSwitch from './confirm-token-transaction-switch';
|
||||||
import ConfTx from './conf-tx';
|
|
||||||
|
|
||||||
export default class ConfirmTransaction extends Component {
|
export default class ConfirmTransaction extends Component {
|
||||||
static contextTypes = {
|
static contextTypes = {
|
||||||
@ -185,7 +185,7 @@ export default class ConfirmTransaction extends Component {
|
|||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
path={`${CONFIRM_TRANSACTION_ROUTE}/:id?${SIGNATURE_REQUEST_PATH}`}
|
path={`${CONFIRM_TRANSACTION_ROUTE}/:id?${SIGNATURE_REQUEST_PATH}`}
|
||||||
component={ConfTx}
|
component={ConfirmSignatureRequest}
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
|
Loading…
Reference in New Issue
Block a user