add config reducers to RootReducer/CombineReducer

This commit is contained in:
Daniel Ternyak 2017-04-14 01:24:16 -05:00
parent cb9cba8d79
commit 37e8c0817e

View File

@ -3,14 +3,17 @@ import * as inbox from './inbox'
import * as auth from './auth' import * as auth from './auth'
import * as loginCR from './loginCR' import * as loginCR from './loginCR'
import * as dashboard from './dashboard' import * as dashboard from './dashboard'
import * as config from './config'
import {combineReducers} from 'redux'; import {combineReducers} from 'redux';
import {routerReducer} from 'react-router-redux' import {routerReducer} from 'react-router-redux'
export default combineReducers({ export default combineReducers({
...layout, ...layout,
...inbox, ...inbox,
...auth, ...auth,
...dashboard, ...dashboard,
...loginCR, ...loginCR,
...config,
routing: routerReducer routing: routerReducer
}) })