Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 83ac97c

Browse files
committed
cleanup
1 parent 6ad663d commit 83ac97c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/components/Calendar.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,6 @@ class Calendar extends PureComponent {
401401
axis={isVertical ? 'y' : 'x'}
402402
itemRenderer={(index, key) => {
403403
const monthStep = addMonths(minDate, index);
404-
let tomorrow = new Date();
405-
tomorrow.setDate(tomorrow.getDate + 1);
406404
return (
407405
<Month
408406
{...this.props}
@@ -440,8 +438,6 @@ class Calendar extends PureComponent {
440438
)}>
441439
{new Array(this.props.months).fill(null).map((_, i) => {
442440
const monthStep = addMonths(this.state.focusedDate, i);
443-
let tomorrow = new Date();
444-
tomorrow.setDate(tomorrow.getDate + 1);
445441
return (
446442
<Month
447443
{...this.props}

0 commit comments

Comments
 (0)