Skip to content

Commit

Permalink
🔧 chore: 컴포넌트 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
froggy1014 committed Aug 17, 2024
1 parent 0eac02c commit cd1efce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/app/(home)/festivals/mostlike/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ const searchParamsCache = createSearchParamsCache({
size: parseAsInteger.withDefault(6),
});

interface TrendPageProps {
interface HotFestivalPageProps {
searchParams: Record<string, string>;
}

export default async function TrendPage({ searchParams }: TrendPageProps) {
export default async function HotFestivalPage({
searchParams,
}: HotFestivalPageProps) {
const parsedParams = searchParamsCache.parse(searchParams);
const festivals = await getHotFestival(parsedParams);

Expand Down
4 changes: 2 additions & 2 deletions src/app/(home)/festivals/mostlike/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface Props {
festivals: HostFestivalData;
}

const TrendTestView = ({ festivals }: Props) => {
const HotFestivalView = ({ festivals }: Props) => {
return (
<div className="h-full w-full p-[16px]">
<div className="grid w-full grid-cols-2 gap-[16px]">
Expand All @@ -21,4 +21,4 @@ const TrendTestView = ({ festivals }: Props) => {
);
};

export default TrendTestView;
export default HotFestivalView;

0 comments on commit cd1efce

Please sign in to comment.