File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2121 "react" : " ^0.14.0" ,
2222 "react-dom" : " ^0.14.0" ,
2323 "react-redux" : " ^4.0.0" ,
24- "redux" : " ^3.0.0 "
24+ "redux" : " ^3.1.5 "
2525 },
2626 "devDependencies" : {
2727 "babel-core" : " ^6.3.15" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ import { createStore } from 'redux';
22import rootReducer from '../reducers' ;
33
44export default function configureStore ( initialState ) {
5- const store = ( window . devToolsExtension ? window . devToolsExtension ( ) ( createStore ) : createStore ) ( rootReducer , initialState ) ;
5+ const store = createStore ( rootReducer , initialState ,
6+ window . devToolsExtension ? window . devToolsExtension ( ) : undefined
7+ ) ;
68
79 if ( module . hot ) {
810 // Enable Webpack hot module replacement for reducers
You can’t perform that action at this time.
0 commit comments