blob: f5063ac1d5dd25563758bac4c4ef473fce9ec219 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { combineReducers, routerReducer } from 'redux-seamless-immutable'
import { reducer as toastrReducer } from 'react-redux-toastr'
import errorsReducer from './redux/errors'
import gamesReducer from './redux/games'
import playersReducer from './redux/players'
export default function createReducer() {
return combineReducers({
errors: errorsReducer,
games: gamesReducer,
players: playersReducer,
routing: routerReducer,
toastr: toastrReducer
})
}
|