Skip to content

Commit

Permalink
Fix linter warning ./src/helpers.js Line 39: 'i' is assigned a value …
Browse files Browse the repository at this point in the history
…but never used no-unused-vars
  • Loading branch information
alessandrocuzzocrea committed Feb 12, 2018
1 parent c9d5e3b commit e6b638d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/helpers.js
Expand Up @@ -36,7 +36,6 @@ function dayToMonthMemo(day) {
}
if (day in cache) return cache[day];
const nextYear = new Date(year + 1, 0, 1);
let i = 0;
for (
let d = new Date(year, 0, 1);
d < nextYear;
Expand All @@ -46,7 +45,6 @@ function dayToMonthMemo(day) {
cache[day] = d.getMonth();
return cache[day];
}
i++;
}
};
}
Expand Down

0 comments on commit e6b638d

Please sign in to comment.