diff --git a/src/pages/ServiceManage/UserBlockRegist.js b/src/pages/ServiceManage/UserBlockRegist.js index ef422d7..35d8870 100644 --- a/src/pages/ServiceManage/UserBlockRegist.js +++ b/src/pages/ServiceManage/UserBlockRegist.js @@ -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});