Skip to content

Commit

Permalink
입금 완료 버튼 수정 (#48)
Browse files Browse the repository at this point in the history
입금 완료 버튼 수정
  • Loading branch information
Dobbymin authored Nov 10, 2024
2 parents 9d943f7 + 2fba414 commit c5a177f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ type Props = {

export const StatusButton = ({ accepted, id }: Props) => {
const { mutate: updatePersonStatus } = usePutDepositCheck(id);

const handleChangeStatus = () => {
if (accepted) {
alert("이미 입금 완료 상태입니다.");
return;
}
updatePersonStatus();
};

Expand Down

0 comments on commit c5a177f

Please sign in to comment.