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 stats.tsx

Steven Teydaa4eaa50be5
diff --git a/app/ui/home/stats.tsx b/app/ui/home/stats.tsx
index bc96242c9d..f991c779d2 100644
--- a/app/ui/home/stats.tsx
+++ b/app/ui/home/stats.tsx
@@ -52,7 +52,9 @@ export function StatsSection({
className="flex flex-col items-center justify-center space-y-2"
>
<p className="text-4xl font-bold md:text-6xl">
- {nFormatter(value)}
+ {name === "Custom Domains"
+ ? Intl.NumberFormat().format(value)
+ : nFormatter(value)}
</p>
<p className="font-semibold uppercase text-gray-500 md:text-lg">
{name}