fix(sw-350): cleanups and PR comment fixes

This commit is contained in:
Pontus Dreij
2024-10-15 09:34:52 +02:00
parent fcd226973c
commit cae11a80a7
4 changed files with 18 additions and 12 deletions
+2 -1
View File
@@ -60,7 +60,8 @@ export default function DatePickerDesktop({
lang={lang}
locale={locale}
mode="range"
onDayClick={(day) => handleOnSelect(day)}
numberOfMonths={2}
onDayClick={handleOnSelect}
pagedNavigation
required={false}
selected={selectedDate}
+1 -1
View File
@@ -78,7 +78,7 @@ export default function DatePickerMobile({
mode="range"
/** Showing full year or what's left of it */
numberOfMonths={12}
onDayClick={(day) => handleOnSelect(day)}
onDayClick={handleOnSelect}
required
selected={selectedDate}
startMonth={startMonth}