fix typo and bad rename

This commit is contained in:
2024-07-14 01:37:38 +02:00
parent 4f9d2e2bcf
commit 246572d7d0
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export const EventItem = ({
futureOccurrences.map((occurrence) => occurrence.start)
);
const numOccurrences = event?.occurrences?.length ?? 0;
const nextOccurrence = numOccurrences ? groupedOccurrences[0] : null;
const nextOccurrence = numOccurrences ? futureOccurrences[0] : null;
const featuredImage: any = event.featuredImage;
return (