Permalink
Browse files

Update root reducer to wrap around combined reducer

  • Loading branch information...
markerikson committed Jan 13, 2017
1 parent 76e48af commit 9d6b44313b7f2f2a5c2690939d942e3ce5b7cfc6
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/app/reducers/rootReducer.js
@@ -1,18 +1,25 @@
import {combineReducers} from "redux";
import {reduceReducers} from "common/utils/reducerUtils";
import entitiesReducer from "./entitiesReducer";
import tabReducer from "features/tabs/tabReducer";
import unitInfoReducer from "features/unitInfo/unitInfoReducer";
import pilotsReducer from "features/pilots/pilotsReducer";
import mechsReducer from "features/mechs/mechsReducer";
const rootReducer = combineReducers({
const combinedReducer = combineReducers({
entities : entitiesReducer,
unitInfo : unitInfoReducer,
pilots : pilotsReducer,
mechs : mechsReducer,
tabs : tabReducer,
});
const rootReducer = reduceReducers(
combinedReducer,
);
export default rootReducer;

0 comments on commit 9d6b443

Please sign in to comment.