Skip to content

Commit 60108b5

Browse files
author
Tautvilas Mecinskas
committed
fix refactor bug
1 parent 73a6a0d commit 60108b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/calendar-list/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class CalendarList extends Component {
191191
}
192192

193193
getMonthIndex(month) {
194-
let diffMonths = this.state.openDate.diffMonths(month) + this.pastScrollRange;
194+
let diffMonths = this.state.openDate.diffMonths(month) + this.props.pastScrollRange;
195195
return diffMonths;
196196
}
197197

0 commit comments

Comments
 (0)