diff --git a/src/components/MainEvents.tsx b/src/components/MainEvents.tsx index 8e160d3b..6cf8edcd 100644 --- a/src/components/MainEvents.tsx +++ b/src/components/MainEvents.tsx @@ -50,6 +50,7 @@ const MainEvents = ({ pathname }: MainEventsProps) => { isEnded={eventInfo.isEnded} clubName={clubInfo.name} clubLogoImageUrl={clubInfo.logoImageUrl} + isLazy={true} /> ); })} diff --git a/src/components/common/EventCard/EventCard.tsx b/src/components/common/EventCard/EventCard.tsx index 7a2e79ba..48daceeb 100644 --- a/src/components/common/EventCard/EventCard.tsx +++ b/src/components/common/EventCard/EventCard.tsx @@ -24,6 +24,7 @@ interface EventProps { startDate?: string; endDate?: string; clubLogoImageUrl?: string; + isLazy?: boolean; clubName: string; openStatus?: string; isEnded: boolean; @@ -40,12 +41,13 @@ const EventCard = ({ clubName, openStatus, isEnded, + isLazy, }: EventProps) => { const navigate = useNavigate(); return ( navigate(PATH.EVENT.DETAIL(eventId))}> - + {openStatus && (