From 2fba414148f502dad51376bbfccef82348a34748 Mon Sep 17 00:00:00 2001 From: Dobbymin Date: Sun, 10 Nov 2024 20:42:29 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B4=EB=AF=B8=20=EC=9E=85=EA=B8=88?= =?UTF-8?q?=20=EC=99=84=EB=A3=8C=20=EC=83=81=ED=83=9C=EC=9D=B8=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EC=9A=94=EC=B2=AD=EC=8B=9C=20=EC=B0=A8=EB=8B=A8=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../people-management/components/features/StatusButton.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/admin/src/features/people-management/components/features/StatusButton.tsx b/packages/admin/src/features/people-management/components/features/StatusButton.tsx index efda4e0..cf3cd93 100644 --- a/packages/admin/src/features/people-management/components/features/StatusButton.tsx +++ b/packages/admin/src/features/people-management/components/features/StatusButton.tsx @@ -9,7 +9,12 @@ type Props = { export const StatusButton = ({ accepted, id }: Props) => { const { mutate: updatePersonStatus } = usePutDepositCheck(id); + const handleChangeStatus = () => { + if (accepted) { + alert("이미 입금 완료 상태입니다."); + return; + } updatePersonStatus(); };