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'); }