text: import { createStore, applyMiddleware } from 'redux';
  import thunk from 'redux-thunk';
  import rootReducer from './root_reducer';
  
  const _defaultState = {};
  
  const configureStore = (preloadedState = _defaultState) => (
    createStore(
      rootReducer,
      preloadedState,
      applyMiddleware(thunk)
    )
  );
  
  export default configureStore;
  