summaryrefslogtreecommitdiff
path: root/frontend/src/reducers.js
blob: 7e5fba26d0875436271f67820fefe960a2de0587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { combineReducers, routerReducer } from 'redux-seamless-immutable'

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,
  })
}
bgstack15