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

const createStoreWithMiddleware = applyMiddleware(
    thunkMiddleWare
)(createStore);

export default function configureStore() {
    return createStoreWithMiddleware(rootReducer);
}

@@ -30,16 +30,25 @@
 ddleware
+, compose
  %7D from 
@@ -174,16 +174,29 @@
 leware =
+ compose(%0A   
  applyMi
@@ -204,21 +204,16 @@
 dleware(
-%0A    
 thunkMid
@@ -219,16 +219,85 @@
 ddleWare
+),%0A    window.devToolsExtension ? window.devToolsExtension() : f =%3E f
 %0A)(creat

add hook for Redux dev extension in Chrome