Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Add todo for default year
Browse files Browse the repository at this point in the history
  • Loading branch information
dracco1993 committed Jun 20, 2020
1 parent 5a1d385 commit 8d0884d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Events = ({ year, refetchOnLoad }) => {
};

Events.getInitialProps = async ({ reduxStore, query }) => {
let year = 2020;
let year = 2020; // TODO: pull this from the /status endpoint
if (query.year) {
year = parseInt(query.year, 10);
}
Expand Down

0 comments on commit 8d0884d

Please sign in to comment.