Skip to content

Commit

Permalink
Fix #5574: Calendar Tailwind context.selected val
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Dec 12, 2023
1 parent 94c1670 commit 07637d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/lib/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -3666,8 +3666,8 @@ export const Calendar = React.memo(
context: {
month: m,
monthIndex: i,
selected: isMonthSelected(i),
disabled: !m.selectable
disabled: !m.selectable,
selected: isMonthSelected(i)
}
})
);
Expand Down Expand Up @@ -3709,7 +3709,7 @@ export const Calendar = React.memo(
year: y,
yearIndex: i,
selected: isYearSelected(y),
disabled: !y.selectable
disabled: !isSelectable(0, -1, y)
}
})
);
Expand Down

0 comments on commit 07637d5

Please sign in to comment.