diff --git a/apps/webapp/app/components/billing/UsageBar.tsx b/apps/webapp/app/components/billing/UsageBar.tsx index e9bd3c433..b1c51f438 100644 --- a/apps/webapp/app/components/billing/UsageBar.tsx +++ b/apps/webapp/app/components/billing/UsageBar.tsx @@ -2,6 +2,7 @@ import { cn } from "~/utils/cn"; import { formatter, separator } from "~/utils/numberFormatter"; import { Paragraph } from "../primitives/Paragraph"; import { SimpleTooltip } from "../primitives/Tooltip"; +import { motion } from "framer-motion"; type UsageBarProps = { numberOfCurrentRuns: number; @@ -37,7 +38,10 @@ export function UsageBar({
{billingLimit && ( -
@@ -48,9 +52,12 @@ export function UsageBar({ percentage={billingLimitPercentage} tooltipContent={`Billing Limit: ${separator(billingLimit)}`} /> -
+ )} -
@@ -65,9 +72,12 @@ export function UsageBar({ : `Free Tier Runs Limit: ${separator(tierRunLimit)}` }`} /> -
+ {projectedRuns !== 0 && ( -
@@ -78,9 +88,12 @@ export function UsageBar({ percentage={projectedRunsPercentage} tooltipContent={`Projected Runs: ${separator(projectedRuns)}`} /> -
+ )} -
-
-
+