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 plan-usage.tsx

Steven Tey24fcb329ffa6
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/plan-usage.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/plan-usage.tsx
index 14da8dbb44..9e9d1f4c00 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/plan-usage.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/plan-usage.tsx
@@ -231,7 +231,11 @@ export default function PlanUsage() {
<UsageCategory
title="Payout fees"
icon={CirclePercentage}
- usage={plan && payoutFee && `${payoutFee * 100}%`}
+ usage={
+ plan && payoutFee !== undefined
+ ? `${payoutFee * 100}%`
+ : undefined
+ }
href="https://dub.co/help/article/partner-payouts#payout-fees-and-timing"
/>
</div>