From 8988233da897e8447a1dbdb700836fb8576e5e6b Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Wed, 11 Dec 2019 18:54:05 +0530 Subject: :tada: Initial Commit --- src/reducers/root.reducer.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/reducers/root.reducer.js (limited to 'src/reducers/root.reducer.js') 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; -- cgit v1.2.3