import { MERGE_USERS } from '../action-types';
export default (state = [], { type, payload } = {}) =>
{ switch (type) {
case MERGE_USERS:
return [...state, ...payload];
default:
return state;
}
}
top of page
bottom of page