text: import { createStore, applyMiddleware } from 'redux';
  import rootReducer from './reducers/index';
  import thunk from 'redux-thunk';
  
  const middleWare = [thunk];
  
  export function configureStore(){
    return createStore(
      rootReducer, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(), applyMiddleware(...middleWare))
  }
  
  export const store = configureStore();
  