import {createStore, applyMiddleware} from 'redux';
import thunkMiddleware from 'redux-thunk';
import travelApp from 'reducers/Reducers.js';

const createStoreWithMiddleware = applyMiddleware(
  thunkMiddleware
)(createStore);

export default createStoreWithMiddleware(travelApp);

@@ -13,16 +13,25 @@
 teStore,
+ compose,
  applyMi
@@ -54,16 +54,71 @@
 redux';%0A
+import %7BdevTools, persistState%7D from 'redux-devtools';%0A
 import t
@@ -205,17 +205,25 @@
 %0A%0Aconst 
-c
+enhancedC
 reateSto
@@ -228,24 +228,21 @@
 tore
-WithMiddleware =
+ = compose(%0A 
  app
@@ -255,16 +255,18 @@
 leware(%0A
+  
   thunkM
@@ -274,16 +274,106 @@
 ddleware
+),%0A  devTools(),%0A  persistState(window.location.href.match(/%5B?&%5Ddebug_session=(%5B%5E&%5D+)%5Cb/))
 %0A)(creat
@@ -401,31 +401,25 @@
 ult 
-createStoreWithMiddlewa
+enhancedCreateSto
 re(t

Apply devtools as a enhanced create store