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.

only show SharePopover when there's a valid link

Steven Tey5c2706be0540
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index ecb3aacaa8..59ad535a82 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -776,7 +776,7 @@ export default function Toggle({
<div className="flex grow justify-end gap-2">
{page === "analytics" && (
<>
- <SharePopover />
+ {domain && key && <SharePopover />}
<AnalyticsOptions />
</>
)}