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