mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 13:31:13 -05:00
Fix: Resolve internal server error
This commit is contained in:
@@ -176,8 +176,8 @@ export function ReviewForm({
|
||||
<div className="space-y-2">
|
||||
<Label>Visit Date</Label>
|
||||
<DatePicker
|
||||
date={watch('visit_date') ? parseDateOnly(watch('visit_date')) : undefined}
|
||||
onSelect={(date) => setValue('visit_date', date ? toDateOnly(date) : undefined)}
|
||||
date={watch('visit_date') ? parseDateOnly(watch('visit_date') || '') : undefined}
|
||||
onSelect={(date) => setValue('visit_date', date ? toDateOnly(date) : '')}
|
||||
placeholder="When did you visit?"
|
||||
disableFuture={true}
|
||||
fromYear={1950}
|
||||
|
||||
Reference in New Issue
Block a user