Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update bounty-performance.tsx

Steven Tey473886542978
diff --git a/apps/web/ui/partners/bounties/bounty-performance.tsx b/apps/web/ui/partners/bounties/bounty-performance.tsx
index ee34485c40..0e63e83bad 100644
--- a/apps/web/ui/partners/bounties/bounty-performance.tsx
+++ b/apps/web/ui/partners/bounties/bounty-performance.tsx
@@ -18,11 +18,11 @@ export function BountyPerformance({ bounty }: { bounty: PartnerBountyProps }) {
value === undefined
? "-"
: isCurrencyAttribute(attribute)
- ? currencyFormatter(value)
+ ? currencyFormatter(value, { trailingZeroDisplay: "stripIfInteger" })
: nFormatter(value, { full: true });
const formattedTarget = isCurrencyAttribute(attribute)
- ? currencyFormatter(target)
+ ? currencyFormatter(target, { trailingZeroDisplay: "stripIfInteger" })
: nFormatter(target, { full: true });
const metricLabel =