Created
April 6, 2017 13:03
-
-
Save NikolayGalkin/37b50b00c4926fe5bea502701441c393 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
const router = ( | |
<Provider store={store}> | |
<Router history={history}> | |
<Route path='/' component={App}> | |
<IndexRoute component={Home} /> | |
<Route path='/recipes/add' component={AddRecipe} /> | |
<Route path='/recipes/:id' component={SingleRecipe} /> | |
<Route path='/signup' component={SignupPage} /> | |
<Route path='/login' component={LoginPage} /> | |
</Route> | |
</Router> | |
</Provider> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment