diff --git a/web/src/components/Calendar.jsx b/web/src/components/Calendar.jsx index 3525ce0f1..044871ada 100644 --- a/web/src/components/Calendar.jsx +++ b/web/src/components/Calendar.jsx @@ -5,7 +5,7 @@ import ArrowRightDouble from '../icons/ArrowRightDouble'; const todayTimestamp = new Date().setHours(0, 0, 0, 0).valueOf(); -const Calendar = ({ onChange, calendarRef, close, dateRange }) => { +const Calendar = ({ onChange, calendarRef, close, dateRange, children }) => { const keyRef = useRef([]); const date = new Date(); @@ -287,8 +287,8 @@ const Calendar = ({ onChange, calendarRef, close, dateRange }) => { }; return ( -
-
+
+
{
{renderCalendar()}
+ {children}
); };