Skip to content

Commit 1f8fcad

Browse files
committed
minor fixes
1 parent ba86a2b commit 1f8fcad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CalendarPicker/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export default class CalendarPicker extends Component {
103103
let newMonthYear = {};
104104
if (!moment(prevProps.initialDate).isSame(this.props.initialDate, "day")) {
105105
newMonthYear = this.updateMonthYear(this.props.initialDate);
106+
doStateUpdate = true;
106107
}
107108

108109
let selectedDateRanges = {};

0 commit comments

Comments
 (0)