Rename modalEmailCollection to modalPhoneCollection

This commit is contained in:
Liam Cardenas 2018-01-10 22:00:51 -08:00
parent c0e9b92a3a
commit c52c75758b
3 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@ import { connect } from 'react-redux';
import { doCloseModal } from 'redux/actions/app'; import { doCloseModal } from 'redux/actions/app';
import { doSetClientSetting } from 'redux/actions/settings'; import { doSetClientSetting } from 'redux/actions/settings';
import { selectEmailToVerify, selectUser } from 'redux/selectors/user'; import { selectEmailToVerify, selectUser } from 'redux/selectors/user';
import ModalEmailCollection from './view'; import ModalPhoneCollection from './view';
const select = state => ({ const select = state => ({
email: selectEmailToVerify(state), email: selectEmailToVerify(state),
@ -18,4 +18,4 @@ const perform = dispatch => () => ({
}, },
}); });
export default connect(select, perform)(ModalEmailCollection); export default connect(select, perform)(ModalPhoneCollection);

View file

@ -4,7 +4,7 @@ import Link from 'component/link/index';
import UserEmailNew from 'component/userEmailNew'; import UserEmailNew from 'component/userEmailNew';
import UserEmailVerify from 'component/userEmailVerify'; import UserEmailVerify from 'component/userEmailVerify';
class ModalEmailCollection extends React.PureComponent { class ModalPhoneCollection extends React.PureComponent {
renderInner() { renderInner() {
const { closeModal, email, user } = this.props; const { closeModal, email, user } = this.props;
@ -37,4 +37,4 @@ class ModalEmailCollection extends React.PureComponent {
} }
} }
export default ModalEmailCollection; export default ModalPhoneCollection;

View file

@ -12,7 +12,7 @@ import ModalTransactionFailed from 'modal/modalTransactionFailed';
import ModalFileTimeout from 'modal/modalFileTimeout'; import ModalFileTimeout from 'modal/modalFileTimeout';
import ModalAffirmPurchase from 'modal/modalAffirmPurchase'; import ModalAffirmPurchase from 'modal/modalAffirmPurchase';
import ModalRevokeClaim from 'modal/modalRevokeClaim'; import ModalRevokeClaim from 'modal/modalRevokeClaim';
import ModalEmailCollection from '../modalEmailCollection'; import ModalPhoneCollection from '../modalPhoneCollection';
import * as modals from 'constants/modal_types'; import * as modals from 'constants/modal_types';
class ModalRouter extends React.PureComponent { class ModalRouter extends React.PureComponent {
@ -125,7 +125,7 @@ class ModalRouter extends React.PureComponent {
case modals.CONFIRM_CLAIM_REVOKE: case modals.CONFIRM_CLAIM_REVOKE:
return <ModalRevokeClaim {...modalProps} />; return <ModalRevokeClaim {...modalProps} />;
case modals.EMAIL_COLLECTION: case modals.EMAIL_COLLECTION:
return <ModalEmailCollection {...modalProps} />; return <ModalPhoneCollection {...modalProps} />;
default: default:
return null; return null;
} }