Skip to content

Commit 66061ce

Browse files
authored
Fix numVisibleDays initial state (#303, #314)
1 parent 31ebd4c commit 66061ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CalendarStrip.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ class CalendarStrip extends Component {
146146
dayComponentWidth: 0,
147147
height: 0,
148148
monthFontSize: 0,
149-
selectorSize: 0
149+
selectorSize: 0,
150+
numVisibleDays: props.numDaysInWeek,
150151
};
151152

152153
this.animations = [];

0 commit comments

Comments
 (0)