From 51705890355695e51738d8901cca3dc88e40552d Mon Sep 17 00:00:00 2001 From: izone00 Date: Tue, 23 Apr 2024 23:43:53 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=ED=8C=8C=ED=8B=B0=20=EC=83=81=EC=84=B8?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90=EC=84=9C=20=EB=92=A4?= =?UTF-8?q?=EB=A1=9C=EA=B0=80=EA=B8=B0=ED=95=98=EB=A9=B4=20=ED=95=AD?= =?UTF-8?q?=EC=83=81=20=ED=8C=8C=ED=8B=B0=20=EB=A9=94=EC=9D=B8=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/main/PartyPreview.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/main/PartyPreview.tsx b/components/main/PartyPreview.tsx index 25da85000..90443c146 100644 --- a/components/main/PartyPreview.tsx +++ b/components/main/PartyPreview.tsx @@ -7,7 +7,8 @@ export default function PartyPreview() { const limitedRooms = openRooms.slice(0, 3); const router = useRouter(); - const movePartyRoom = (roomId: number) => { + const movePartyRoom = async (roomId: number) => { + await router.push(`/party`); router.push(`/party/room?id=${roomId}`); }; return (