import * as types from '../../constants'; export const deleteUserRequest = payload => ({ type: types.DELETE_USER_REQUEST, payload }) export const deleteUserRequestSucces = payload => ({ type: types.DELETE_USER_REQUEST_SUCCESS, payload }) export const deleteUserRequestFailure = error => ({ type: types.DELETE_USER_REQUEST_FAILURE, error })