diff --git a/src/renderer/modal/modalEmailCollection/index.js b/src/renderer/modal/modalPhoneCollection/index.js similarity index 84% rename from src/renderer/modal/modalEmailCollection/index.js rename to src/renderer/modal/modalPhoneCollection/index.js index 242b9e509..aae6952f7 100644 --- a/src/renderer/modal/modalEmailCollection/index.js +++ b/src/renderer/modal/modalPhoneCollection/index.js @@ -4,7 +4,7 @@ import { connect } from 'react-redux'; import { doCloseModal } from 'redux/actions/app'; import { doSetClientSetting } from 'redux/actions/settings'; import { selectEmailToVerify, selectUser } from 'redux/selectors/user'; -import ModalEmailCollection from './view'; +import ModalPhoneCollection from './view'; const select = state => ({ email: selectEmailToVerify(state), @@ -18,4 +18,4 @@ const perform = dispatch => () => ({ }, }); -export default connect(select, perform)(ModalEmailCollection); +export default connect(select, perform)(ModalPhoneCollection); diff --git a/src/renderer/modal/modalEmailCollection/view.jsx b/src/renderer/modal/modalPhoneCollection/view.jsx similarity index 91% rename from src/renderer/modal/modalEmailCollection/view.jsx rename to src/renderer/modal/modalPhoneCollection/view.jsx index a17ecf7df..16b8cbe08 100644 --- a/src/renderer/modal/modalEmailCollection/view.jsx +++ b/src/renderer/modal/modalPhoneCollection/view.jsx @@ -4,7 +4,7 @@ import Link from 'component/link/index'; import UserEmailNew from 'component/userEmailNew'; import UserEmailVerify from 'component/userEmailVerify'; -class ModalEmailCollection extends React.PureComponent { +class ModalPhoneCollection extends React.PureComponent { renderInner() { const { closeModal, email, user } = this.props; @@ -37,4 +37,4 @@ class ModalEmailCollection extends React.PureComponent { } } -export default ModalEmailCollection; +export default ModalPhoneCollection; diff --git a/src/renderer/modal/modalRouter/view.jsx b/src/renderer/modal/modalRouter/view.jsx index b2d68fbf2..019a799fe 100644 --- a/src/renderer/modal/modalRouter/view.jsx +++ b/src/renderer/modal/modalRouter/view.jsx @@ -12,7 +12,7 @@ import ModalTransactionFailed from 'modal/modalTransactionFailed'; import ModalFileTimeout from 'modal/modalFileTimeout'; import ModalAffirmPurchase from 'modal/modalAffirmPurchase'; import ModalRevokeClaim from 'modal/modalRevokeClaim'; -import ModalEmailCollection from '../modalEmailCollection'; +import ModalPhoneCollection from '../modalPhoneCollection'; import * as modals from 'constants/modal_types'; class ModalRouter extends React.PureComponent { @@ -125,7 +125,7 @@ class ModalRouter extends React.PureComponent { case modals.CONFIRM_CLAIM_REVOKE: return ; case modals.EMAIL_COLLECTION: - return ; + return ; default: return null; }