|
@ -1,6 +1,6 @@ |
|
|
import React from 'react'; |
|
|
import React from 'react'; |
|
|
import { render } from 'react-dom'; |
|
|
import { render } from 'react-dom'; |
|
|
import { Router, Route, IndexRoute, browserHistory } from 'react-router'; |
|
|
import { Router, Route, IndexRoute, browserHistory, hashHistory } from 'react-router'; |
|
|
import { Provider } from 'react-redux'; |
|
|
import { Provider } from 'react-redux'; |
|
|
import store from './store'; |
|
|
import store from './store'; |
|
|
|
|
|
|
|
@ -23,7 +23,7 @@ import './styles/index.scss'; |
|
|
|
|
|
|
|
|
const router = ( |
|
|
const router = ( |
|
|
<Provider store={store}> |
|
|
<Provider store={store}> |
|
|
<Router history={browserHistory}> |
|
|
<Router history={hashHistory}> |
|
|
<Route path="/" component={App} /> |
|
|
<Route path="/" component={App} /> |
|
|
</Router> |
|
|
</Router> |
|
|
</Provider> |
|
|
</Provider> |
|
|