import { createStore, applyMiddleware } from 'redux'
import rootReducer from '../reducers/index'

const createStoreWithMiddleware = applyMiddleware()(createStore)

export default function configureStore(initialState) {
  return createStoreWithMiddleware(rootReducer, initialState)
}

@@ -46,16 +46,57 @@
 'redux'%0A
+import createLogger from 'redux-logger'%0A%0A
 import r
@@ -132,16 +132,46 @@
 index'%0A%0A
+const logger = createLogger()%0A
 const cr
@@ -212,16 +212,22 @@
 dleware(
+logger
 )(create

Integrate logger middleware with redux