Skip to content

Commit

Permalink
hide skeleton for broken contests
Browse files Browse the repository at this point in the history
  • Loading branch information
rbennettcw authored and ilijabojanovic committed Nov 6, 2024
1 parent 4358143 commit 725a424
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ const ContestCard = ({
<CWText type="h3">{name}</CWText>
{finishDate ? (
<ContestCountdown finishTime={finishDate} isActive={isActive} />
) : (
) : isActive ? (
<Skeleton width="70px" />
)}
) : null}
</div>
<CWText className="topics">
Topic: {topics.map(({ name: topicName }) => topicName).join(', ')}
Expand Down

0 comments on commit 725a424

Please sign in to comment.