diff --git a/components/lib/calendar/Calendar.js b/components/lib/calendar/Calendar.js index 84b88c92a6..a76420f166 100644 --- a/components/lib/calendar/Calendar.js +++ b/components/lib/calendar/Calendar.js @@ -3239,7 +3239,7 @@ export const Calendar = React.memo(
{monthPickerValues().map((m, i) => { return ( - onMonthSelect(event, i)} key={`month${i + 1}`} className={classNames('p-monthpicker-month', { 'p-highlight': isMonthSelected(i), 'p-disabled': !isSelectable(0, i, currentYear) })}> + onMonthSelect(event, i)} key={`month${i + 1}`} className={classNames('p-monthpicker-month', { 'p-highlight': isMonthSelected(i), 'p-disabled': !isSelectable(1, i, currentYear) })}> {m} );