File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
src/components/experimental Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff 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 = {
Original file line number Diff line number Diff 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 => {
You can’t perform that action at this time.
0 commit comments