Skip to content

Commit

Permalink
Merge pull request #9830 from hicommonwealth/release/v1.7.2-x
Browse files Browse the repository at this point in the history
1.7.2- hide skeleton for broken contests
  • Loading branch information
ilijabojanovic authored Nov 6, 2024
2 parents d46d4f9 + f23092d commit 3c4cb05
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 3c4cb05

Please sign in to comment.