Skip to content

Commit

Permalink
publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
BanEvading committed Feb 24, 2025
1 parent aa1de31 commit ab2467f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions components/competition/InsightsAndSettingsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export default function InsightsAndSettingsCard(props: {
? (+(
Round(submittedReports / reports.length) * 100
)).toFixed(0)
: "?"}
: "0"}
%
</div>
<div className="stat-desc"></div>
Expand All @@ -394,7 +394,7 @@ export default function InsightsAndSettingsCard(props: {
? (+(
Round(submittedReports / reports.length) * 100
)).toFixed(0)
: "?"}
: "0"}
%
</div>
<div className="stat-desc">
Expand All @@ -412,12 +412,9 @@ export default function InsightsAndSettingsCard(props: {
<FaUserGroup size={40}></FaUserGroup>
</div>
<div className="stat-value text-primary">
{!submittedPitreports && submittedPitreports !== 0
? "?"
: submittedPitreports}
/
{!submittedPitreports ? "0" : submittedPitreports}/
{!pitreports || pitreports.length === 0
? "?"
? "0"
: pitreports.length}
</div>
</div>
Expand Down

0 comments on commit ab2467f

Please sign in to comment.