Skip to content

Commit

Permalink
fix past events filter #173
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Oct 11, 2024
1 parent 2602717 commit f2c86d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/events/EventList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function EventList( {events}: Props ) {
<h1 className="text-5xl lg:text-7xl text-bold self-center mb-2">{year}</h1>
<div className="grid grid-cols-1 gap-4 lg:gap-10">
{
events.map((event) => (
events.filter(filterEvents).map((event) => (
<EventCard {...event} key={"card-" + event.slug}/>
))
}
Expand Down

0 comments on commit f2c86d8

Please sign in to comment.