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