text: import { createStore, applyMiddleware, combineReducers } from "redux";
  import { composeWithDevTools } from "redux-devtools-extension";
  import createSagaMiddleware from "redux-saga";
  import reducers from "./reducers";
  
  const reducer = combineReducers(reducers);
  
  export default function index() {
    const composeEnhancers = composeWithDevTools({});
    const sagaMiddleware = createSagaMiddleware();
    const middleware = applyMiddleware(sagaMiddleware);
    const store = createStore(reducer, composeEnhancers(middleware));
  
    return store;
  }
  