이용자제재 수정
This commit is contained in:
@@ -228,7 +228,7 @@ const UserBlockRegist = () => {
|
||||
showToast('USER_BLOCK_VALIDATION_WARNING', {type: alertTypes.warning});
|
||||
return;
|
||||
}
|
||||
};
|
||||
}
|
||||
showModal('USER_BLOCK_REGIST_CONFIRM', {
|
||||
type: alertTypes.confirm,
|
||||
onConfirm: () => handleSubmit('registConfirm'),
|
||||
@@ -237,7 +237,7 @@ const UserBlockRegist = () => {
|
||||
|
||||
case 'registConfirm':
|
||||
await withLoading(async () => {
|
||||
return await BlackListRegist(token, resultData);
|
||||
return await BlackListRegist(token, resultData);
|
||||
}).then(data => {
|
||||
if(data.result === 'ERROR'){
|
||||
showToast(data.data.message, {type: alertTypes.error});
|
||||
|
||||
Reference in New Issue
Block a user