Skip to content

Commit

Permalink
Merge branch 'nhan/competition-2'
Browse files Browse the repository at this point in the history
  • Loading branch information
1723newbit committed Sep 19, 2024
2 parents 639c832 + 4447e67 commit 4ef5b43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/hackathon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ const LeaderboardOrCompetition = memo(

return (
<>
<LeaderboardSection currentUserContest={currentUserContest} />
{(!startTime.ended || endTime.ended) && (
<LeaderboardSection currentUserContest={currentUserContest} />
)}
{isShowCompetition && (
<CompetitionSection
contestType={CURRENT_COMPETITION_CONTEST_TYPE}
Expand Down

0 comments on commit 4ef5b43

Please sign in to comment.