UI Action Handler Changes, Misc Fixes

This commit is contained in:
Qstick 2017-11-26 15:09:45 -05:00
parent 7825319d89
commit cd5b658196
193 changed files with 6992 additions and 6341 deletions

View file

@ -0,0 +1,20 @@
import { combineReducers } from 'redux';
import { enableBatching } from 'redux-batched-actions';
import { routerReducer } from 'react-router-redux';
import actions from 'Store/Actions';
const defaultState = {};
const reducers = {
routing: routerReducer
};
actions.forEach((action) => {
const section = action.section;
defaultState[section] = action.defaultState;
reducers[section] = action.reducers;
});
export { defaultState };
export default enableBatching(combineReducers(reducers));