fix(deps): update mantine monorepo to v8 (major) (#3022)

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2025-05-06 20:02:20 +02:00
committed by GitHub
parent 680f7b0c72
commit 44853ea64b
14 changed files with 154 additions and 154 deletions

View File

@@ -72,8 +72,8 @@ const CalendarBase = ({ isEditMode, events, month, setMonth, options }: Calendar
return (
<Calendar
defaultDate={new Date()}
onPreviousMonth={setMonth}
onNextMonth={setMonth}
onPreviousMonth={(month) => setMonth(new Date(month))}
onNextMonth={(month) => setMonth(new Date(month))}
highlightToday
locale={locale}
hideWeekdays={false}
@@ -126,7 +126,7 @@ const CalendarBase = ({ isEditMode, events, month, setMonth, options }: Calendar
.filter((event): event is CalendarEvent => Boolean(event.date));
return (
<CalendarDay
date={tileDate}
date={new Date(tileDate)}
events={eventsForDate}
disabled={isEditMode || eventsForDate.length === 0}
rootWidth={width}