From 55d2a10f2fc49f69d1f5ffe8288a0d80dcebfc4e Mon Sep 17 00:00:00 2001 From: KM Koushik Date: Mon, 25 Aug 2025 23:05:52 +1000 Subject: [PATCH] show correct amount due --- apps/web/src/app/(dashboard)/settings/usage/usage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/(dashboard)/settings/usage/usage.tsx b/apps/web/src/app/(dashboard)/settings/usage/usage.tsx index 5207e1e..3bca89e 100644 --- a/apps/web/src/app/(dashboard)/settings/usage/usage.tsx +++ b/apps/web/src/app/(dashboard)/settings/usage/usage.tsx @@ -179,8 +179,8 @@ function PaidPlanUsage({
{planCreditCost < totalCost - ? `$${totalCost.toFixed(2)}` - : `$${planCreditCost.toFixed(2)}`} + ? `$${(totalCost - planCreditCost).toFixed(2)}` + : `$${(0.0).toFixed(2)}`}