diff --git a/packages/reports/src/Components/Form/CompositeCalendar/two-month-picker.tsx b/packages/reports/src/Components/Form/CompositeCalendar/two-month-picker.tsx index d020335589a8..563ae8447dee 100644 --- a/packages/reports/src/Components/Form/CompositeCalendar/two-month-picker.tsx +++ b/packages/reports/src/Components/Form/CompositeCalendar/two-month-picker.tsx @@ -70,7 +70,7 @@ const TwoMonthPicker = React.memo(({ onChange, isPeriodDisabled, value }: TTwoMo * @param {moment.Moment} date * @return {boolean} */ - const shouldDisableDate = (date: moment.Moment): boolean => { + const shouldDisableDate = (date: moment.Moment) => isPeriodDisabled(date.unix()); return isPeriodDisabled(date.unix()); };