summaryrefslogtreecommitdiff
path: root/frontend/src/reducers.js
blob: 85f7e3c1c07ea89bbfde9fae0c67d5929bb5b560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// @flow
import { routerReducer } from 'react-router-redux';
import { combineReducers } from 'redux-immutable';
import { gamesReducer } from './redux/games';
import { playersReducer } from './redux/players';

export function createReducer() {
  return combineReducers({
    games: gamesReducer,
    players: playersReducer,
    routing: routerReducer,
  });
}
bgstack15