Created
June 8, 2017 22:13
-
-
Save jamesplease/067acf50cf2f6714897dab90f1ad1f6a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export class App extends Component { | |
render() { | |
const { store } = this.props; | |
return ( | |
<Provider store={store} key="provider"> | |
<Route for="dashboard" component={DashboardPage}/> | |
<Route for="notFound" component={NotFoundPage}/> | |
</Provider> | |
); | |
} | |
static propTypes = { | |
store: PropTypes.object.isRequired, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment