text: import { createStore, applyMiddleware } from 'redux';
  import createSagaMiddleware from 'redux-saga';
  import rootReducer from './reducers';
  import rootSaga from './sagas';
  
  const sagaMiddleware = createSagaMiddleware();
  
  const combineReducers = () =>  {
    const store = createStore(rootReducer, applyMiddleware(sagaMiddleware));
    sagaMiddleware.run(rootSaga);
  
    return { store };
  };
  
  export default combineReducers;
  