import { combineReducers } from 'redux' ; import { connectRouter } from 'connected-react-router' ; import { History } from 'history' ; import boardReducer from './features/board/boardSlice' ; import appReducer from './features/app/appSlice' ; import searchAndFilterReducer from './features/searchAndFilter/search' ; export default function createRootReducer ( history ) { return combineReducers ( { router : connectRouter ( history ) , boards : boardReducer , app : appReducer , searchAndFilter : searchAndFilterReducer , } ) ; }