fix build

This commit is contained in:
2024-06-05 23:31:15 +02:00
parent e04bccf359
commit 980e191c9f

View File

@ -53,7 +53,10 @@ export const DateList = ({ event }: { event: EventFragment }) => {
</h2> </h2>
<ul className={styles.dateList}> <ul className={styles.dateList}>
{futureOccurrences.map((occurrence) => ( {futureOccurrences.map((occurrence) => (
<DateListItem key={occurrence.id} occurrence={occurrence} /> <DateListItem
key={occurrence.id}
occurrence={occurrence as EventOccurrence}
/>
))} ))}
</ul> </ul>
{/* <div onClick={() => setShowPast(!showPast)}> {/* <div onClick={() => setShowPast(!showPast)}>
@ -79,7 +82,7 @@ export const DateList = ({ event }: { event: EventFragment }) => {
); );
}; };
export const DateListDemo = ({ event }: { event: EventFragment }) => { export const DateListDemo = () => {
return ( return (
<div className={styles.dateWrapper}> <div className={styles.dateWrapper}>
<h2 className="circlehead"> <h2 className="circlehead">