From 48a2f6cbaf21ce246ef2bd13e104a94991db97cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B2=9C=EC=A7=80=EC=9C=A4?= <70828192+cheonjiyun@users.noreply.github.com> Date: Sun, 15 Sep 2024 10:19:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20auth=20valid=EB=A5=BC=20=EA=B2=80?= =?UTF-8?q?=EC=82=AC=ED=95=98=EC=97=AC=20true=EC=9D=BC=EB=95=8C=EB=A7=8C?= =?UTF-8?q?=20confirm=EC=9D=B4=20=EB=9C=A8=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#125)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/CheckAuth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/CheckAuth.tsx b/src/routers/CheckAuth.tsx index dea91e8..238c0df 100644 --- a/src/routers/CheckAuth.tsx +++ b/src/routers/CheckAuth.tsx @@ -12,7 +12,7 @@ export default function CheckAuth({ children }: propsType) { useEffect(() => { (async () => { const isExist = await existGame(); - if (isExist) { + if (isExist.valid) { if (confirm('이미 참가중인 방이 있습니다. 재접속 하시겠습니까?')) { navigate('/game'); }