2016-06-29 10:27:04 +00:00
|
|
|
import React, {Component} from 'react'
|
|
|
|
|
|
|
|
import { Provider } from 'react-redux'
|
2016-08-10 09:39:01 +00:00
|
|
|
import routes from '../routes'
|
2017-04-11 15:44:53 +00:00
|
|
|
import {Router} from 'react-router'
|
2016-08-10 09:39:01 +00:00
|
|
|
|
2016-06-29 10:27:04 +00:00
|
|
|
export default class App extends Component {
|
|
|
|
render() {
|
|
|
|
const { store } = this.props
|
|
|
|
return (
|
|
|
|
<Provider store={store}>
|
2016-08-10 09:39:01 +00:00
|
|
|
<Router routes={routes} history={history} />
|
2016-06-29 10:27:04 +00:00
|
|
|
</Provider>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|