12345678910111213141516171819 |
- import * as actionTypes from '../../../constants/admin';
- export const deleteUsersRequest = payload => {
- console.log(payload)
- return{
- type: actionTypes.DELETE_USERS_REQUEST,
- payload
- }
-
- }
- export const deleteUsersSuccess = payload => ({
- type: actionTypes.DELETE_USERS_REQUEST_SUCCESS,
- payload
- });
- export const deleteUsersFailure = error => ({
- type: actionTypes.DELETE_USERS_REQUEST_FAILURE,
- error
- });
|