Skip to content

Commit

Permalink
Quick fix for Dots not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
TNAJanssen authored and maggialejandro committed Oct 13, 2023
1 parent 02aa125 commit a76c09d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Day/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ const Day = React.memo<Props>(
prevProps.item.isVisible === nextProps.item.isVisible &&
prevProps.item.isStartDate === nextProps.item.isStartDate &&
prevProps.item.isEndDate === nextProps.item.isEndDate &&
prevProps.renderDayContent === nextProps.renderDayContent
prevProps.renderDayContent === nextProps.renderDayContent &&
prevProps.dots?.length === nextProps.dots?.length
);
}
);
Expand Down

0 comments on commit a76c09d

Please sign in to comment.