From b8972c059e3b49adfa11b29d03dbe0aed1d19fb9 Mon Sep 17 00:00:00 2001 From: Daseul Kim Date: Mon, 7 Oct 2024 10:54:36 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20swalFire=20confirm=20=EC=B7=A8=EC=86=8C?= =?UTF-8?q?=20=EC=8B=9C=20=ED=99=95=EC=9D=B8=ED=95=98=EB=8A=94=20=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useSwal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useSwal.js b/src/hooks/useSwal.js index ab747756..cb18e6a7 100644 --- a/src/hooks/useSwal.js +++ b/src/hooks/useSwal.js @@ -35,7 +35,7 @@ export const useSwal = () => { }).then((result) => { if (result.isConfirmed) { confirmFn() - } else if (result.isDenied) { + } else if (result.isDismissed) { denyFn() } })