activator-oce-exporter
Version:
Extract Activator binder and convert it to valid OCE mono pacakge
22 lines (19 loc) • 419 B
JavaScript
import {
SET_VEEVA_DATA,
} from '../_actions/veeva-data.js';
const veevaData = (state = {
presentation: {},
keyMessage: {},
}, action) => {
switch (action.type) {
case SET_VEEVA_DATA:
return {
...state,
presentation: action.data.presentation,
keyMessage: action.data.keyMessage,
};
default:
return state;
}
};
export default veevaData;