Skip to content

Commit ee52186

Browse files
committed
Fix #293 Dynamic change of hideDayNames does not work
1 parent c5a4331 commit ee52186

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/calendar/header/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class CalendarHeader extends Component {
4444
if (nextProps.showIndicator !== this.props.showIndicator) {
4545
return true;
4646
}
47+
if (nextProps.hideDayNames !== this.props.hideDayNames) {
48+
return true;
49+
}
4750
return false;
4851
}
4952

0 commit comments

Comments
 (0)