diff --git a/web/src/components/Calendar.jsx b/web/src/components/Calendar.jsx index faaf5544b..bfab5d785 100644 --- a/web/src/components/Calendar.jsx +++ b/web/src/components/Calendar.jsx @@ -102,9 +102,8 @@ const Calendar = ({ onChange, calendarRef, close, dateRange, children }) => { ...prev, selectedDay: todayTimestamp, monthDetails: getMonthDetails(year, month), - timeRange: { ...dateRange }, })); - }, [year, month, getMonthDetails, dateRange]); + }, [year, month, getMonthDetails]); useEffect(() => { // add refs for keyboard navigation