mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 16:57:39 -05:00
14 lines
375 B
JavaScript
14 lines
375 B
JavaScript
|
|
// from https://github.com/supasate/connected-react-router
|
|
import { combineReducers } from 'redux'
|
|
import { connectRouter } from 'connected-react-router'
|
|
import counterReducer from '../features/counter/counterSlice';
|
|
|
|
const createRootReducer = (history) => combineReducers({
|
|
router: connectRouter(history),
|
|
counter: counterReducer,
|
|
})
|
|
export default createRootReducer
|
|
|
|
|