Skip to content

Commit

Permalink
hide upcoming competitions section
Browse files Browse the repository at this point in the history
  • Loading branch information
sidmclaughlin committed Jan 24, 2024
1 parent 92a4902 commit 83c10df
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ const competitions: Competition[] = [
];

export default function CompetitionList() {
const upcomingCompetitions = competitions.filter((competition: Competition) =>
dayjs().isBefore(dayjs(competition.opportunity_submission_period[0])),
);
// const upcomingCompetitions = competitions.filter((competition: Competition) =>
// dayjs().isBefore(dayjs(competition.opportunity_submission_period[0])),
// );

const currentCompetitions = competitions.filter((competition: Competition) => {
return (
Expand Down Expand Up @@ -137,7 +137,7 @@ export default function CompetitionList() {
</>
)}

<div>
{/* <div>
<Heading className="text-bcgov-blue-dark" level={2}>
Upcoming competitions
</Heading>
Expand All @@ -161,7 +161,7 @@ export default function CompetitionList() {
</p>
</div>
)}
</div>
</div> */}
{previousCompetitions.length > 0 && (
<>
<Heading className="text-bcgov-blue-dark" level={2}>
Expand Down

0 comments on commit 83c10df

Please # to comment.