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.

small bug fixes (h/t to @maxmusing for the bug report)

Steven Tey78343deb0c91
diff --git a/components/app/modals/add-edit-link-modal/index.tsx b/components/app/modals/add-edit-link-modal/index.tsx
index 55d80a9385..8a678cff82 100644
--- a/components/app/modals/add-edit-link-modal/index.tsx
+++ b/components/app/modals/add-edit-link-modal/index.tsx
@@ -149,12 +149,9 @@ function AddEditLinkModal({
/**
* Only generate metatags if:
* - modal is open
- * - custom OG is not enabled or the url has changed
+ * - custom OG proxy is not enabled
**/
- if (
- showAddEditLinkModal &&
- (!proxy || debouncedUrl !== getUrlWithoutUTMParams(props?.url))
- ) {
+ if (showAddEditLinkModal && !proxy) {
setData((prev) => ({
...prev,
title: null,
@@ -459,7 +456,7 @@ function AddEditLinkModal({
<div
className={`${
atBottom ? "" : "sm:shadow-[0_-20px_30px_-10px_rgba(0,0,0,0.1)]"
- } bg-gray-50 px-4 py-8 transition-all sm:sticky sm:bottom-0 sm:px-16`}
+ } z-10 bg-gray-50 px-4 py-8 transition-all sm:sticky sm:bottom-0 sm:px-16`}
>
<button
disabled={saveDisabled}