pagraphcontrol/reducers/index.js
2018-11-08 20:39:54 +03:00

21 lines
428 B
JavaScript

const { combineReducers } = require('redux');
const { reducer: pulse, initialState: pulseInitialState } = require('./pulse');
const { reducer: preferences, initialState: preferencesInitialState } = require('./preferences');
const initialState = {
pulse: pulseInitialState,
preferences: preferencesInitialState,
};
const reducer = combineReducers({
pulse,
preferences,
});
module.exports = {
initialState,
reducer,
};