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 utm-modal.tsx

Tim Wilsonced105b2641a
diff --git a/apps/web/ui/modals/link-builder/utm-modal.tsx b/apps/web/ui/modals/link-builder/utm-modal.tsx
index e85d210a44..27f4c8079a 100644
--- a/apps/web/ui/modals/link-builder/utm-modal.tsx
+++ b/apps/web/ui/modals/link-builder/utm-modal.tsx
@@ -155,7 +155,7 @@ function UTMModalInner({ setShowUTMModal }: UTMModalProps) {
handleSubmit((data) => {
setValueParent("url", data.url);
UTM_PARAMETERS.filter((p) => p.key !== "ref").forEach((p) =>
- setValueParent(p.key, data[p.key], {
+ setValueParent(p.key as any, data[p.key], {
shouldDirty: true,
}),
);