aboutsummaryrefslogtreecommitdiff
path: root/src/reducers/root.reducer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/reducers/root.reducer.js')
-rw-r--r--src/reducers/root.reducer.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/reducers/root.reducer.js b/src/reducers/root.reducer.js
new file mode 100644
index 0000000..de1a3b8
--- /dev/null
+++ b/src/reducers/root.reducer.js
@@ -0,0 +1,9 @@
+import { combineReducers } from "redux";
+import { connectRouter } from "connected-react-router";
+
+const createRootReducer = history =>
+ combineReducers({
+ router: connectRouter(history),
+ });
+
+export default createRootReducer;