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 add-edit-domain-form.tsx

Kiran K3e07b1012e6b
diff --git a/apps/web/ui/domains/add-edit-domain-form.tsx b/apps/web/ui/domains/add-edit-domain-form.tsx
index ef933a4885..0e7daf8c8c 100644
--- a/apps/web/ui/domains/add-edit-domain-form.tsx
+++ b/apps/web/ui/domains/add-edit-domain-form.tsx
@@ -410,7 +410,9 @@ export function AddEditDomainForm({
animate={{ height: showOption ? "auto" : 0 }}
transition={{ duration: 0.1 }}
initial={false}
- className="-m-1 overflow-hidden p-1"
+ className={cn(
+ id !== "autoRenew" && "-m-1 overflow-hidden p-1",
+ )}
{...{ inert: showOption ? undefined : "" }}
>
<div className="relative mt-2 rounded-md shadow-sm">