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 partner-link-modal.tsx

Kiran Ke883f3e28ab0
diff --git a/apps/web/ui/modals/partner-link-modal.tsx b/apps/web/ui/modals/partner-link-modal.tsx
index 0a875723e1..a94ffdd9fa 100644
--- a/apps/web/ui/modals/partner-link-modal.tsx
+++ b/apps/web/ui/modals/partner-link-modal.tsx
@@ -409,7 +409,7 @@ function PartnerLinkModalContent({
/>
</div>
<input
- {...register("url", { required: false })}
+ {...register("url", { required: !isExactMode })}
type="text"
id="url"
placeholder="(optional)"