File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 11import { compose , createStore , applyMiddleware } from 'redux' ;
2- import thunk from 'redux-thunk' ;
32import rootReducer from 'reducers' ;
43import DevTools from 'containers/DevTools' ;
54
65export default function configureStore ( initialState ) {
76 /* Middleware
8- * Configure this array with the middleware that you want included. thunk
9- * is included by default, and react-router-redux's syncHistory is also
10- * applied if an `options.history` object was passed to configureStore.
7+ * Configure this array with the middleware that you want included
118 */
12- let middleware = [ thunk ] ;
9+ let middleware = [ ] ;
1310
1411 // Add universal enhancers here
1512 let enhancers = [
Original file line number Diff line number Diff line change 11import { compose , createStore , applyMiddleware } from 'redux' ;
2- import thunk from 'redux-thunk' ;
32import rootReducer from 'reducers' ;
43
54export default function configureStore ( initialState ) {
65 /* Middleware
7- * Configure this array with the middleware that you want included. thunk
8- * is included by default, and react-router-redux's syncHistory is also
9- * applied if an `options.history` object was passed to configureStore.
6+ * Configure this array with the middleware that you want included.
107 */
11- let middleware = [ thunk ] ;
8+ let middleware = [ ] ;
129
1310 // Add universal enhancers here
1411 let enhancers = [ ] ;
You can’t perform that action at this time.
0 commit comments