import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import createLogger from 'redux-logger';
import { hashHistory } from 'react-router';
import { routerMiddleware } from 'react-router-redux';
import rootReducer from '../reducers';

const logger = createLogger({
  level: 'info',
  collapsed: true,
});

const router = routerMiddleware(hashHistory);

const enhancer = compose(
  applyMiddleware(thunk, router, logger),
  window.devToolsExtension ? window.devToolsExtension() : noop => noop
);

export default function configureStore(initialState) {
  const store = createStore(rootReducer, initialState, enhancer);

  if (module.hot) {
    module.hot.accept('../reducers', () =>
      store.replaceReducer(require('../reducers')) // eslint-disable-line global-require
    );
  }

  return store;
}

@@ -199,16 +199,22 @@
 ddleware
+, push
  %7D from 
@@ -231,24 +231,24 @@
 ter-redux';%0A
-
 import rootR
@@ -275,16 +275,129 @@
 cers';%0A%0A
+import * as counterActions from '../actions/counter';%0A%0Aconst actionCreators = %7B%0A  ...counterActions,%0A  push,%0A%7D;%0A%0A
 const lo
@@ -602,16 +602,20 @@
 ension ?
+%0A   
  window.
@@ -636,11 +636,33 @@
 ion(
-) :
+%7B actionCreators %7D) :%0A   
  noo

Add actionCreators option for window.devToolsExtension()