Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
fix: stop filtering events
Browse files Browse the repository at this point in the history
  • Loading branch information
jlengstorf committed Sep 7, 2019
1 parent 83d6baf commit 65b28ce
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions site/src/pages/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,12 @@ const Upcoming = () => {
}
`);

const futureEvents = data.allEvent.nodes.filter(
event => new Date(event.start) >= new Date(),
);

return (
<Layout>
<Helmet>
<title>Upcoming Episodes</title>
</Helmet>
<Events events={futureEvents} />
<Events events={data.allEvent.nodes} />
</Layout>
);
};
Expand Down

0 comments on commit 65b28ce

Please sign in to comment.