From cd1efce74e1b7162985c2be76edc578002ea49cc Mon Sep 17 00:00:00 2001 From: Jeongmin Lee Date: Sun, 18 Aug 2024 06:21:32 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=20=EC=9D=B4=EB=A6=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(home)/festivals/mostlike/page.tsx | 6 ++++-- src/app/(home)/festivals/mostlike/view.tsx | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/(home)/festivals/mostlike/page.tsx b/src/app/(home)/festivals/mostlike/page.tsx index 31c8561..f104ed3 100644 --- a/src/app/(home)/festivals/mostlike/page.tsx +++ b/src/app/(home)/festivals/mostlike/page.tsx @@ -11,11 +11,13 @@ const searchParamsCache = createSearchParamsCache({ size: parseAsInteger.withDefault(6), }); -interface TrendPageProps { +interface HotFestivalPageProps { searchParams: Record; } -export default async function TrendPage({ searchParams }: TrendPageProps) { +export default async function HotFestivalPage({ + searchParams, +}: HotFestivalPageProps) { const parsedParams = searchParamsCache.parse(searchParams); const festivals = await getHotFestival(parsedParams); diff --git a/src/app/(home)/festivals/mostlike/view.tsx b/src/app/(home)/festivals/mostlike/view.tsx index 2c85308..0d041d6 100644 --- a/src/app/(home)/festivals/mostlike/view.tsx +++ b/src/app/(home)/festivals/mostlike/view.tsx @@ -5,7 +5,7 @@ interface Props { festivals: HostFestivalData; } -const TrendTestView = ({ festivals }: Props) => { +const HotFestivalView = ({ festivals }: Props) => { return (
@@ -21,4 +21,4 @@ const TrendTestView = ({ festivals }: Props) => { ); }; -export default TrendTestView; +export default HotFestivalView;