mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 06:34:22 +00:00
Fix TypeError in /events/[slug]
This commit is contained in:
parent
f753c4d5da
commit
bfadc25b74
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue