1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Fix TypeError in /events/[slug]

This commit is contained in:
Steffo 2022-06-08 02:43:46 +02:00
parent f753c4d5da
commit bfadc25b74
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -105,11 +105,11 @@ export default function PageEventDetail({event}: PageEventDetailProps) {
daterange={
<EditableDateRange
startProps={{
value: startingAt,
value: startingAt ?? undefined,
onChange: (e: ChangeEvent<HTMLInputElement>) => setStartingAt(e.target.value)
}}
endProps={{
value: endingAt,
value: endingAt ?? undefined,
onChange: (e: ChangeEvent<HTMLInputElement>) => setEndingAt(e.target.value)
}}
/>