The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove math.round
Steven Teyac7016d9d142
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.tsxindex cd759f8a9b..3ea36db332 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@@ -215,13 +215,7 @@ export default function PlanUsage() {<UsageCategorytitle="Payout fees"icon={CirclePercentage}- usage={- plan- ? payoutFee- ? `${Math.round(payoutFee * 100)}%`- : "-"- : undefined- }+ usage={plan && payoutFee && `${payoutFee * 100}%`}href="https://dub.co/help/article/partner-payouts#payout-fees-and-timing"/></div>diff --git a/apps/web/ui/partners/payout-invoice-sheet.tsx b/apps/web/ui/partners/payout-invoice-sheet.tsxindex cdd14e1a49..be2fde5eef 100644--- a/apps/web/ui/partners/payout-invoice-sheet.tsx+++ b/apps/web/ui/partners/payout-invoice-sheet.tsx@@ -273,7 +273,7 @@ function PayoutInvoiceSheetContent() {),tooltipContent: selectedPaymentMethod ? (<SimpleTooltipContent- title={`${Math.round(selectedPaymentMethod.fee * 100)}% processing fee. ${!DIRECT_DEBIT_PAYMENT_METHOD_TYPES.includes(selectedPaymentMethod.type as Stripe.PaymentMethod.Type) ? " Switch to Direct Debit for a reduced fee." : ""}`}+ title={`${selectedPaymentMethod.fee * 100}% processing fee. ${!DIRECT_DEBIT_PAYMENT_METHOD_TYPES.includes(selectedPaymentMethod.type as Stripe.PaymentMethod.Type) ? " Switch to Direct Debit for a reduced fee." : ""}`}cta="Learn more"href="https://d.to/payouts"/>