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.

missed another spot

Steven Tey349d5691aee4
diff --git a/apps/web/ui/domains/domain-card.tsx b/apps/web/ui/domains/domain-card.tsx
index 424e020575..fca0a767ad 100644
--- a/apps/web/ui/domains/domain-card.tsx
+++ b/apps/web/ui/domains/domain-card.tsx
@@ -44,7 +44,8 @@ export default function DomainCard({ props }: { props: DomainProps }) {
);
const { data: clicks } = useSWR<number>(
- slug && `/api/projects/${slug}/analytics/clicks?domain=${domain}&key=_root`,
+ slug &&
+ `/api/analytics/clicks?projectSlug=${slug}&domain=${domain}&key=_root`,
fetcher,
{
fallbackData: props.clicks,