fantasy-tools
fantasy-tools copied to clipboard
Hard-coded '2020' breaks standings simulator for 2021 season
Not sure if this is still an active project, but the line below is preventing the standings simulator from working with the current fantasy season.
I believe replacing 2020 with new Date().getFullYear() should fix the issue.
https://github.com/JakePartusch/fantasy-tools/blob/cf9ce9fc806d136babdc9cef65f2b101957bf24d/src/pages/standings/StandingsSimulator.js#L48