Skip to content

Commit

Permalink
Merge pull request #1910 from juchan1220/fix/individual_day_header_style
Browse files Browse the repository at this point in the history
fix individual day header style
  • Loading branch information
Inbal-Tish committed Aug 23, 2022
2 parents 89950e4 + 154b2e2 commit 53120c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/calendar/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ const CalendarHeader = forwardRef((props: CalendarHeaderProps, ref) => {

const dayTextAtIndex = `dayTextAtIndex${index}`;
// @ts-expect-error
if (style[dayTextAtIndex]) {
if (style.current[dayTextAtIndex]) {
// @ts-expect-error
dayStyle.push(style[dayTextAtIndex]);
dayStyle.push(style.current[dayTextAtIndex]);
}

return (
Expand Down

0 comments on commit 53120c1

Please sign in to comment.