mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
Move the change status of the user to a ban the user func.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
* Action disptacher related to users
|
||||
*/
|
||||
|
||||
export const updateUserStatus = (status, id) => (dispatch, getState) => {
|
||||
console.log('DEBUG ', getState);
|
||||
export const updateUserStatus = (status, id) => (dispatch) => {
|
||||
dispatch({type: 'USER_STATUS_UPDATE', id, status});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user