From 4d0bd64b23a75a6d6f67edc0ec602a404618b014 Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Tue, 10 Dec 2024 18:36:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B0=B8=EC=97=AC=EA=B0=80=20=EC=97=AC?= =?UTF-8?q?=EB=9F=AC=EB=B2=88=20=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/shared/roomCardModal/RoomCardModalButton.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/components/shared/roomCardModal/RoomCardModalButton.tsx b/frontend/src/components/shared/roomCardModal/RoomCardModalButton.tsx index dcfd2ab2..aa8431bb 100644 --- a/frontend/src/components/shared/roomCardModal/RoomCardModalButton.tsx +++ b/frontend/src/components/shared/roomCardModal/RoomCardModalButton.tsx @@ -29,6 +29,8 @@ const RoomCardModalButton = ({ roomInfo }: RoomCardModalButtonProps) => { }; const handleParticipateRoomClick = () => { + if (postParticipateInMutation.isPending) return; + postParticipateInMutation.mutate( { roomId: roomInfo.id, @@ -130,6 +132,7 @@ const RoomCardModalButton = ({ roomInfo }: RoomCardModalButtonProps) => {