IT removes duplicated code.

This commit is contained in:
gaba
2016-12-08 18:19:00 -10:00
parent a46ffe8ea6
commit ecd3f5c347
@@ -28,10 +28,3 @@ export const hideBanUserDialog = (showDialog) => {
dispatch({type: 'HIDE_BANUSER_DIALOG', showDialog});
};
};
export const banUser = (status, userId, commentId) => {
return dispatch => {
dispatch({type: 'USER_BAN', status, userId, commentId});
dispatch({type: 'COMMENTS_MODERATION_QUEUE_FETCH'});
};
};