diff --git a/development/ts-migration-dashboard/files-to-convert.json b/development/ts-migration-dashboard/files-to-convert.json index 2d57c8a12..684060275 100644 --- a/development/ts-migration-dashboard/files-to-convert.json +++ b/development/ts-migration-dashboard/files-to-convert.json @@ -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", diff --git a/ui/pages/confirm-transaction/__snapshots__/conf-tx.test.js.snap b/ui/pages/confirm-signature-request/__snapshots__/index.test.js.snap similarity index 100% rename from ui/pages/confirm-transaction/__snapshots__/conf-tx.test.js.snap rename to ui/pages/confirm-signature-request/__snapshots__/index.test.js.snap diff --git a/ui/pages/confirm-transaction/conf-tx.js b/ui/pages/confirm-signature-request/index.js similarity index 100% rename from ui/pages/confirm-transaction/conf-tx.js rename to ui/pages/confirm-signature-request/index.js diff --git a/ui/pages/confirm-transaction/conf-tx.test.js b/ui/pages/confirm-signature-request/index.test.js similarity index 98% rename from ui/pages/confirm-transaction/conf-tx.test.js rename to ui/pages/confirm-signature-request/index.test.js index 5ac1cf0ac..93c80b53a 100644 --- a/ui/pages/confirm-transaction/conf-tx.test.js +++ b/ui/pages/confirm-signature-request/index.test.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: { diff --git a/ui/pages/confirm-transaction/confirm-transaction.component.js b/ui/pages/confirm-transaction/confirm-transaction.component.js index 540a28a07..ac4a577c7 100644 --- a/ui/pages/confirm-transaction/confirm-transaction.component.js +++ b/ui/pages/confirm-transaction/confirm-transaction.component.js @@ -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 {