summaryrefslogtreecommitdiff
path: root/frontend/src/reducers.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/reducers.js')
-rw-r--r--frontend/src/reducers.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/frontend/src/reducers.js b/frontend/src/reducers.js
new file mode 100644
index 00000000..d9db899b
--- /dev/null
+++ b/frontend/src/reducers.js
@@ -0,0 +1,13 @@
+import { combineReducers } from 'redux'
+import { routerReducer } from 'react-router-redux'
+
+import gamesReducer from './containers/GameBrowser/reducer'
+import userReducer from './containers/UserRepo/reducer'
+
+export default function createReducer() {
+ return combineReducers({
+ games: gamesReducer,
+ routing: routerReducer,
+ user: userReducer,
+ })
+}
bgstack15