diff --git a/src/pages/profile/ProfileChangeEmailPage.jsx b/src/pages/profile/ChangeEmailPage.jsx similarity index 94% rename from src/pages/profile/ProfileChangeEmailPage.jsx rename to src/pages/profile/ChangeEmailPage.jsx index c25e8f9..0cb4d5a 100644 --- a/src/pages/profile/ProfileChangeEmailPage.jsx +++ b/src/pages/profile/ChangeEmailPage.jsx @@ -4,8 +4,8 @@ import ChangeEmail from 'components/profile/changeEmail/ChangeEmail'; import accounts from 'services/api/accounts'; -class ProfileChangeEmailPage extends Component { - static displayName = 'ProfileChangeEmailPage'; +class ChangeEmailPage extends Component { + static displayName = 'ChangeEmailPage'; static propTypes = { email: PropTypes.string.isRequired, @@ -79,4 +79,4 @@ import { connect } from 'react-redux'; export default connect((state) => ({ email: state.user.email }), { -})(ProfileChangeEmailPage); +})(ChangeEmailPage); diff --git a/src/routes.js b/src/routes.js index 738f1d5..05043e8 100644 --- a/src/routes.js +++ b/src/routes.js @@ -8,7 +8,7 @@ import AuthPage from 'pages/auth/AuthPage'; import ProfilePage from 'pages/profile/ProfilePage'; import ProfileChangePasswordPage from 'pages/profile/ChangePasswordPage'; 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 Register from 'components/auth/register/Register';