Skip to content
Snippets Groups Projects
Commit 340b01db authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

Add signup component

parent c4e70298
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ import App from 'pubsweet-component-xpub-app/src/components' ...@@ -7,6 +7,7 @@ import App from 'pubsweet-component-xpub-app/src/components'
import { import {
PrivateRoute, PrivateRoute,
SignupPage,
LoginPage, LoginPage,
LogoutPage, LogoutPage,
} from 'pubsweet-component-xpub-authentication/src/components' } from 'pubsweet-component-xpub-authentication/src/components'
...@@ -20,6 +21,7 @@ import { WizardPage } from 'pubsweet-component-wizard/src/components' ...@@ -20,6 +21,7 @@ import { WizardPage } from 'pubsweet-component-wizard/src/components'
const Routes = () => ( const Routes = () => (
<App> <App>
<Route component={LoginPage} exact path="/login" /> <Route component={LoginPage} exact path="/login" />
<Route component={SignupPage} exact path="/signup" />
<PrivateRoute component={DashboardPage} exact path="/" /> <PrivateRoute component={DashboardPage} exact path="/" />
<PrivateRoute component={LogoutPage} exact path="/logout" /> <PrivateRoute component={LogoutPage} exact path="/logout" />
<PrivateRoute <PrivateRoute
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment