text: import { composeWithDevTools } from 'redux-devtools-extension';
  
  import { createStore, applyMiddleware } from 'redux';
  import thunk from 'redux-thunk';
  import reducers from '../reducers';
  
  const initState = {
    loadingItems: 0,
  };
  
  export default function configureStore() {
    const store = createStore(
      reducers,
      initState,
      composeWithDevTools(
        applyMiddleware(
          thunk,
        ),
      ),
    );
    return store;
  }
  