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 domain-card.tsx

Tim Wilsonfb02c00583ee
diff --git a/apps/web/ui/domains/domain-card.tsx b/apps/web/ui/domains/domain-card.tsx
index 1d73d452a5..5a6ee4acb0 100644
--- a/apps/web/ui/domains/domain-card.tsx
+++ b/apps/web/ui/domains/domain-card.tsx
@@ -163,7 +163,11 @@ export default function DomainCard({ props }: { props: DomainProps }) {
? "pending"
: "error"
}
- onClick={() => setShowDetails((s) => !s)}
+ onClick={
+ isDubProvisioned
+ ? undefined
+ : () => setShowDetails((s) => !s)
+ }
>
{data.status === "Valid Configuration"
? "Active"