From 0debc79530482bcca6204ec089b51728fbfdb944 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Sun, 3 Jul 2022 03:25:30 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=8B=AC=EC=9D=98=EB=AA=A9=EB=A1=9D=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=EC=8B=9C=20=EC=98=A4=EB=A5=98=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/biz/admin/judge/JudgeReview.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/biz/admin/judge/JudgeReview.jsx b/src/views/biz/admin/judge/JudgeReview.jsx index 845d38c..e00b005 100644 --- a/src/views/biz/admin/judge/JudgeReview.jsx +++ b/src/views/biz/admin/judge/JudgeReview.jsx @@ -77,9 +77,10 @@ const JudgeReview = ({ msDatagb, menuName }) => { const deleteJudge = useCallback( (row) => () => { let res = {}; + const datagb = row.msDatagb; removeAlert(async () => { - if (msDatagb) { + if (datagb) { res = await removeJudge(row); } else { res = await removeParkingJudge(row);