Skip to content

Commit

Permalink
fix: 🐛 invalid props
Browse files Browse the repository at this point in the history
  • Loading branch information
flixlix committed Dec 30, 2024
1 parent 11634cd commit 0294b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ export function DatePickerDemo() {
</Button>
</PopoverTrigger>
<PopoverContent className="w-auto p-0" align="start">
<Calendar
mode="single"
selected={date}
onSelect={setDate}
initialFocus
/>
<Calendar mode="single" selected={date} onSelect={setDate} />
</PopoverContent>
</Popover>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ export function DatePickerDemo() {
</Button>
</PopoverTrigger>
<PopoverContent className="w-auto p-0" align="start">
<Calendar
mode="single"
selected={date}
onSelect={setDate}
initialFocus
/>
<Calendar mode="single" selected={date} onSelect={setDate} />
</PopoverContent>
</Popover>
)
Expand Down

0 comments on commit 0294b35

Please sign in to comment.