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.

Fix sales value

Tim Wilsond416fc6a4f0f
diff --git a/apps/web/ui/analytics/main.tsx b/apps/web/ui/analytics/main.tsx
index af3facabeb..3a67064234 100644
--- a/apps/web/ui/analytics/main.tsx
+++ b/apps/web/ui/analytics/main.tsx
@@ -91,7 +91,7 @@ export default function Main() {
const total = {
clicks: data?.clicks,
leads: data?.leads,
- sales: data?.amount,
+ sales: (data?.amount ?? 0) / 100,
}[id];
return (