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 index.tsx

Tim Wilson331b5f40d8d1
diff --git a/apps/web/ui/modals/add-edit-link-modal-new/index.tsx b/apps/web/ui/modals/add-edit-link-modal-new/index.tsx
index 5be8ea6b91..26d879c2b7 100644
--- a/apps/web/ui/modals/add-edit-link-modal-new/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal-new/index.tsx
@@ -247,6 +247,7 @@ export function AddEditLinkModal({
</div>
{!homepageDemo && (
<button
+ type="button"
onClick={() => {
setShowAddEditLinkModal(false);
if (searchParams.has("newLink")) {
@@ -356,6 +357,7 @@ export function AddEditLinkModal({
/>
) : (
<Button
+ type="submit"
disabled={saveDisabled}
loading={isSubmitting || isSubmitSuccessful}
text={