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:
parent
f753c4d5da
commit
bfadc25b74
1 changed files with 2 additions and 2 deletions
|
@ -105,11 +105,11 @@ export default function PageEventDetail({event}: PageEventDetailProps) {
|
||||||
daterange={
|
daterange={
|
||||||
<EditableDateRange
|
<EditableDateRange
|
||||||
startProps={{
|
startProps={{
|
||||||
value: startingAt,
|
value: startingAt ?? undefined,
|
||||||
onChange: (e: ChangeEvent<HTMLInputElement>) => setStartingAt(e.target.value)
|
onChange: (e: ChangeEvent<HTMLInputElement>) => setStartingAt(e.target.value)
|
||||||
}}
|
}}
|
||||||
endProps={{
|
endProps={{
|
||||||
value: endingAt,
|
value: endingAt ?? undefined,
|
||||||
onChange: (e: ChangeEvent<HTMLInputElement>) => setEndingAt(e.target.value)
|
onChange: (e: ChangeEvent<HTMLInputElement>) => setEndingAt(e.target.value)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue