From 77cc45cf6c119c43f1ca13163d579004fa7532ac Mon Sep 17 00:00:00 2001 From: rbgksqkr Date: Wed, 11 Dec 2024 22:16:47 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=8B=A4=EC=8B=9C=20=EB=8C=80?= =?UTF-8?q?=EA=B8=B0=ED=99=94=EB=A9=B4=EC=9C=BC=EB=A1=9C=20=EB=AA=BB?= =?UTF-8?q?=EB=8F=8C=EC=95=84=EC=98=A4=EB=8F=84=EB=A1=9D=20navigate=20repl?= =?UTF-8?q?ace:=20true=20=EC=B6=94=EA=B0=80=20#427?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/StartButtonContainer/hooks/useCountdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/ReadyPage/components/StartButtonContainer/hooks/useCountdown.ts b/frontend/src/pages/ReadyPage/components/StartButtonContainer/hooks/useCountdown.ts index a8edc6388..020ead849 100644 --- a/frontend/src/pages/ReadyPage/components/StartButtonContainer/hooks/useCountdown.ts +++ b/frontend/src/pages/ReadyPage/components/StartButtonContainer/hooks/useCountdown.ts @@ -17,7 +17,7 @@ const useCountdown = ({ isGameStart }: UseCountdownProps) => { }; const goToGame = () => { - navigate(ROUTES.game(Number(roomId))); + navigate(ROUTES.game(Number(roomId)), { replace: true }); }; useEffect(() => {