diff --git a/src/app/events/Events.tsx b/src/app/events/Events.tsx index b2bc7a7d..3e7bd9d8 100644 --- a/src/app/events/Events.tsx +++ b/src/app/events/Events.tsx @@ -82,10 +82,14 @@ export default function Events({ className }: { className?: string }) { return (
- {'Upcoming Events'} - {upcomingEvents.map((event, i) => ( - - ))} + {upcomingEvents.length > 0 && ( + <> + {'Upcoming Events'} + {upcomingEvents.map((event, i) => ( + + ))} + + )} {pastEvents.length > 0 && ( <>