import {compose, createStore, applyMiddleware} from 'redux'
import {devTools, persistState} from 'redux-devtools'
import thunkMiddleware from 'redux-thunk'
import rootReducer from '../reducers'

import config from '../config'

const finalCreateStore = compose.apply(null, [
    applyMiddleware(thunkMiddleware),
    // Provides support for DevTools
    config.reduxDevTools && devTools(),
    // Lets you write ?debug_session=<name> in address bar to persist debug sessions
    config.reduxDevTools && persistState(window.location.href.match(/[?&]debug_session=([^&]+)\b/))
  ].filter(Boolean) // (I'm so sorry)
)(createStore)

export default finalCreateStore(rootReducer, {})

@@ -230,51 +230,24 @@
 nst 
-finalCreateSto
+middlewa
 re
+s
  =
- compose.apply(null,
  %5B%0A
-  
   ap
@@ -278,18 +278,16 @@
 eware),%0A
-  
   // Pro
@@ -313,18 +313,16 @@
 evTools%0A
-  
   config
@@ -353,18 +353,16 @@
 ls(),%0A  
- 
- 
 // Lets 
@@ -434,18 +434,16 @@
 essions%0A
-  
   config
@@ -532,18 +532,16 @@
 +)%5Cb/))%0A
-  
 %5D.filter
@@ -553,27 +553,66 @@
 ean)
- // (I'm so sorry)%0A
+%0A%0Aconst finalCreateStore = compose.apply(null, middlewares
 )(cr

Fix lint errors