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

Try linting precommit with new setup

parent 6373fe99
No related branches found
No related tags found
No related merge requests found
......@@ -4,19 +4,19 @@ import { Route } from 'react-router-dom'
import App from 'pubsweet-component-xpub-app/src/components'
import {
PrivateRoute,
LoginPage,
LogoutPage,
PrivateRoute,
LoginPage,
LogoutPage,
} from 'pubsweet-component-xpub-authentication/src/components'
import DashboardPage from 'pubsweet-component-xpub-dashboard/src/components/DashboardPage'
const Routes = () => (
<App>
<Route component={LoginPage} exact path="/login" />
<PrivateRoute component={DashboardPage} exact path="/" />
<PrivateRoute component={LogoutPage} exact path="/logout" />
</App>
<App>
<Route component={LoginPage} exact path="/login" />
<PrivateRoute component={DashboardPage} exact path="/" />
<PrivateRoute component={LogoutPage} exact path="/logout" />
</App>
)
export default Routes
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