Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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