Last active
November 3, 2015 18:22
-
-
Save lesniakania/987a897eedf9c8f9ced2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Route } from 'react-router'; | |
import Main from './components/Main'; | |
import PendingSubmissionsPage from './components/PendingSubmissionsPage'; | |
import SubmissionFormPage from './components/SubmissionFormPage'; | |
export default ( | |
<Route path="/" component={Main}> | |
<Route path="pending" component={PendingSubmissionsPage} /> | |
<Route path="submissions/new" component={SubmissionFormPage} /> | |
</Route> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment