mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-17 21:53:03 +05:30
rename ProfileChangeEmailPage -> ChangeEmailPage
This commit is contained in:
parent
4eaefd1d9b
commit
24fbde289f
@ -4,8 +4,8 @@ import ChangeEmail from 'components/profile/changeEmail/ChangeEmail';
|
|||||||
|
|
||||||
import accounts from 'services/api/accounts';
|
import accounts from 'services/api/accounts';
|
||||||
|
|
||||||
class ProfileChangeEmailPage extends Component {
|
class ChangeEmailPage extends Component {
|
||||||
static displayName = 'ProfileChangeEmailPage';
|
static displayName = 'ChangeEmailPage';
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
email: PropTypes.string.isRequired,
|
email: PropTypes.string.isRequired,
|
||||||
@ -79,4 +79,4 @@ import { connect } from 'react-redux';
|
|||||||
export default connect((state) => ({
|
export default connect((state) => ({
|
||||||
email: state.user.email
|
email: state.user.email
|
||||||
}), {
|
}), {
|
||||||
})(ProfileChangeEmailPage);
|
})(ChangeEmailPage);
|
@ -8,7 +8,7 @@ import AuthPage from 'pages/auth/AuthPage';
|
|||||||
import ProfilePage from 'pages/profile/ProfilePage';
|
import ProfilePage from 'pages/profile/ProfilePage';
|
||||||
import ProfileChangePasswordPage from 'pages/profile/ChangePasswordPage';
|
import ProfileChangePasswordPage from 'pages/profile/ChangePasswordPage';
|
||||||
import ProfileChangeUsernamePage from 'pages/profile/ChangeUsernamePage';
|
import ProfileChangeUsernamePage from 'pages/profile/ChangeUsernamePage';
|
||||||
import ProfileChangeEmailPage from 'pages/profile/ProfileChangeEmailPage';
|
import ProfileChangeEmailPage from 'pages/profile/ChangeEmailPage';
|
||||||
|
|
||||||
import OAuthInit from 'components/auth/OAuthInit';
|
import OAuthInit from 'components/auth/OAuthInit';
|
||||||
import Register from 'components/auth/register/Register';
|
import Register from 'components/auth/register/Register';
|
||||||
|
Loading…
Reference in New Issue
Block a user