blob: a7bba09abec861ffbcb900a135174c7fb9f39aad (
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,
});
}
|