calendar fixed, packagejson fixed

This commit is contained in:
2025-06-19 17:07:29 +05:30
parent dd091f022d
commit 213b522bd5
6 changed files with 209 additions and 214 deletions

View File

@@ -429,7 +429,7 @@ export function AppointmentForm({
</Button>
</FormControl>
</PopoverTrigger>
<PopoverContent className="w-auto p-0" align="start">
<PopoverContent className="w-auto p-4">
<Calendar
mode="single"
selected={field.value}
@@ -438,10 +438,9 @@ export function AppointmentForm({
field.onChange(date);
}
}}
disabled={(date) =>
disabled={(date: Date) =>
date < new Date(new Date().setHours(0, 0, 0, 0))
}
initialFocus
/>
</PopoverContent>
</Popover>