import * as types from '../../actions/';

export default function(state = [], action) {
  let response = action.response;

  switch(action.type) {
    case types.ADD_EMPLOYEE_SUCCESS:
      return { ...state, response };
    default: 
      return state;
  }
}