|
@ -1,6 +1,5 @@ |
|
|
import { browserHistory } from 'react-router' |
|
|
import { browserHistory } from 'react-router' |
|
|
import { createStore, applyMiddleware, compose } from 'redux' |
|
|
import { createStore, applyMiddleware, compose } from 'redux' |
|
|
import thunkMiddleware from 'redux-thunk' |
|
|
|
|
|
import { routerMiddleware } from 'react-router-redux' |
|
|
import { routerMiddleware } from 'react-router-redux' |
|
|
import reducer from './reducer' |
|
|
import reducer from './reducer' |
|
|
import rootSaga from './rootSaga' |
|
|
import rootSaga from './rootSaga' |
|
@ -23,7 +22,6 @@ const store = createStore( |
|
|
initialState, |
|
|
initialState, |
|
|
composeEnhancers( |
|
|
composeEnhancers( |
|
|
applyMiddleware( |
|
|
applyMiddleware( |
|
|
thunkMiddleware, |
|
|
|
|
|
routingMiddleware, |
|
|
routingMiddleware, |
|
|
sagaMiddleware |
|
|
sagaMiddleware |
|
|
) |
|
|
) |
|
|