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.

fix dub.new

Steven Teydaf4b12e508e
diff --git a/apps/web/ui/modals/modal-provider.tsx b/apps/web/ui/modals/modal-provider.tsx
index f26281f7f2..9f110d05b3 100644
--- a/apps/web/ui/modals/modal-provider.tsx
+++ b/apps/web/ui/modals/modal-provider.tsx
@@ -88,7 +88,7 @@ function ModalProviderClient({ children }: { children: ReactNode }) {
duplicateProps: {
...DEFAULT_LINK_PROPS,
...(newLinkValues.domain && { domain: newLinkValues.domain }),
- url: newLinkValues.url,
+ url: newLinkValues.url === "true" ? "" : newLinkValues.url,
},
}
: {},