blob: 4b98a9cae5d2c04a70f3473bdbbd3a9156cd6e7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { combineReducers } from 'redux-immutable';
import { routerReducer } from 'react-router-redux';
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,
});
}
|