Skip to content

Commit

Permalink
Merge pull request #49 from atfzl/reduxDevTools
Browse files Browse the repository at this point in the history
Adding chrome redux-devtools-extension support
  • Loading branch information
coryhouse committed Feb 7, 2016
2 parents 539887f + 814ccdf commit baa8bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/configureStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createStore } from 'redux';
import rootReducer from '../reducers';

export default function configureStore(initialState) {
const store = createStore(rootReducer, initialState);
const store = (window.devToolsExtension ? window.devToolsExtension()(createStore) : createStore)(rootReducer, initialState);

if (module.hot) {
// Enable Webpack hot module replacement for reducers
Expand Down

0 comments on commit baa8bb3

Please sign in to comment.