Oopsie now it should work

This commit is contained in:
Regalijan 2024-11-09 00:10:40 -05:00
parent 8926b0b389
commit 065fb86343
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -116,7 +116,7 @@ export default function () {
)?.name
}
<br />
Event Type: {eventData?.type.toUpperCase()}
Event Type: {eventData?.type?.toUpperCase()}
<br />
Details: {eventData?.details}
<br />
@ -135,6 +135,7 @@ export default function () {
setEventData(
data.eventList.find((ev) => ev.id === e.id) as { [k: string]: any },
);
onOpen();
}}
onSelectSlot={(s) => {
const date = s.slots.at(0) as Date;