text: import { createStore, applyMiddleware } from 'redux';
  import { composeWithDevTools } from 'redux-devtools-extension/developmentOnly';
  
  import reducer from './reducer';
  
  export default preloadedState => {
    return createStore(
      reducer,
      preloadedState,
      composeWithDevTools(applyMiddleware())
    );
  };
  