@@ -131,10 +130,10 @@ const DeleteEventsModal = ({
name="selection"
type="checkbox"
checked={event.selected}
- onChange={(e) => onChangeSelected(e, event.id)}
+ onChange={(e) => onChangeSelected(e, isEvent(event) ? event.id : "")}
/>
|
- {event.title} |
+ {isEvent(event) && event.title} |
{/* Repeat for each presenter*/}
{/* @ts-expect-error TS(7006): Parameter 'presenter' implicitly has an 'any' type... Remove this comment to see the full error message */}
@@ -158,13 +157,10 @@ const DeleteEventsModal = ({
|