text: import { createStore, combineReducers, applyMiddleware } from 'redux';
  import { createLogger } from 'redux-logger';
  import thunkMiddleware from 'redux-thunk';
  import { composeWithDevTools } from 'redux-devtools-extension';
  import auth from './auth';
  import productsReducer from './allproducts';
  import singleProductReducer from './singleProduct';
  import cartReducer from './cart';
  import checkoutReducer from './checkout';
  
  const reducer = combineReducers({
    auth,
    pokemon: productsReducer,
    singlePokemon: singleProductReducer,
    cart: cartReducer,
    checkout: checkoutReducer,
  });
  const middleware = composeWithDevTools(
    applyMiddleware(thunkMiddleware, createLogger({ collapsed: true }))
  );
  const store = createStore(reducer, middleware);
  
  export default store;
  export * from './auth';
  