This commit is contained in:
Rick Reilly
2020-02-11 15:09:50 -05:00
parent 44cefb7c20
commit 9f31f341c1
3 changed files with 9 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ import Footer, { messages as footerMessages } from '@edx/frontend-component-foot
import configureStore from './data/configureStore';
import AccountSettingsPage, { NotFoundPage } from './account-settings';
import LoginPage from './login';
import RegistrationPage from './registration';
import appMessages from './i18n';
import './index.scss';
@@ -24,9 +25,10 @@ subscribe(APP_READY, () => {
<main>
<Switch>
<Route exact path="/" component={AccountSettingsPage} />
<Route path="/notfound" component={NotFoundPage} />
<Route path="*" component={NotFoundPage} />
<Route path="/login" component={LoginPage} />
<Route path="/notfound" component={NotFoundPage} />
<Route path="/registration" component={RegistrationPage} />
<Route path="*" component={NotFoundPage} />
</Switch>
</main>
<Footer />

View File

@@ -0,0 +1,4 @@
import React from 'react';
import EmailField from '../account-settings/EmailField';
export default () => <EmailField />;

View File

@@ -0,0 +1 @@
export { default } from './RegistrationPage';