fix: Next/previous buttons on week view move 8 instead of 7 days (#10742)
parent
351dce5cfd
commit
2a9e061575
|
@ -91,7 +91,7 @@ export function Header({
|
|||
color="minimal"
|
||||
StartIcon={ChevronLeft}
|
||||
aria-label="Previous Day"
|
||||
onClick={() => addToSelectedDate(-extraDays - 1)}
|
||||
onClick={() => addToSelectedDate(-extraDays)}
|
||||
/>
|
||||
<Button
|
||||
className="group rtl:mr-1 rtl:rotate-180"
|
||||
|
@ -99,7 +99,7 @@ export function Header({
|
|||
color="minimal"
|
||||
StartIcon={ChevronRight}
|
||||
aria-label="Next Day"
|
||||
onClick={() => addToSelectedDate(extraDays + 1)}
|
||||
onClick={() => addToSelectedDate(extraDays)}
|
||||
/>
|
||||
{selectedDateMin3DaysDifference && (
|
||||
<Button
|
||||
|
|
Loading…
Reference in New Issue