import { createStore, applyMiddleware } from 'redux';
import rootReducer from 'reducers/';
import thunk from 'redux-thunk';

/* Redux middleware that show error when you try to mutate your state either inside a dispatch or between dispatches */
import reduxImmutableStateInvariant from 'redux-immutable-state-invariant';

export default function configureStore(initialState) {
  return createStore(
    rootReducer,
    initialState,
    // window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(),
    applyMiddleware(thunk, reduxImmutableStateInvariant()),
  );
}

@@ -30,16 +30,25 @@
 ddleware
+, compose
  %7D from 
@@ -324,16 +324,289 @@
 iant';%0A%0A
+const composeEnhancers =%0A  typeof window === 'object' &&%0A  window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?   %0A    window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(%7B%0A      // Specify extension%E2%80%99s options like name, actionsBlacklist, actionsCreators, serialize...%0A    %7D) : compose;%0A%0A
 export d
@@ -717,93 +717,25 @@
     
-// window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(),%0A    
+composeEnhancers(
 appl
@@ -784,16 +784,17 @@
 riant())
+)
 ,%0A  );%0A%7D

make redux extension work again