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.

small fix

Steven Teyc3c310675f0f
diff --git a/apps/web/ui/analytics/main.tsx b/apps/web/ui/analytics/main.tsx
index ec03cf7ee0..e4baa25c55 100644
--- a/apps/web/ui/analytics/main.tsx
+++ b/apps/web/ui/analytics/main.tsx
@@ -99,7 +99,7 @@ export default function Main() {
const total = {
clicks: data?.clicks,
leads: data?.leads,
- sales: data?.amount ? data.amount / 100 : undefined,
+ sales: data ? data.amount / 100 : undefined,
}[id];
return (