Skip to content

Commit ba09064

Browse files
committed
chore: cleanup
1 parent ed1aa27 commit ba09064

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/components/experimental/Calendar/Calendar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export function Calendar(props: CalendarProps): JSX.Element {
6565
const selectionType: SelectionType = props.selectionType ?? 'single';
6666
const defaults = getDefaultClassNames();
6767

68-
// expose a plain function (required by your shared type), but render the memoized component
6968
const DayButtonComp = (p: React.ComponentProps<typeof RdpDayButton>) => <CalendarDayButton {...p} />;
7069

7170
const common = {

src/components/experimental/DatePicker/DatePicker.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ function DatePickerImpl(props: DatePickerProps): JSX.Element {
126126
locale,
127127
initialMonth,
128128
name,
129-
// mode is optional; effective mode resolved via guards below
130129
placeholder,
131130
id,
132131
visibleMonths,
@@ -488,7 +487,6 @@ function DatePickerImpl(props: DatePickerProps): JSX.Element {
488487
)}
489488
</div>
490489

491-
{/* chips for multiple */}
492490
{isMultiple && (multipleSource?.length ?? 0) > 0 && (
493491
<Chips aria-label="Selected dates">
494492
{multipleSource.map(d => {

0 commit comments

Comments
 (0)