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

Steven Tey72e1ed2ce92a
diff --git a/apps/web/ui/modals/add-edit-link-modal/index.tsx b/apps/web/ui/modals/add-edit-link-modal/index.tsx
index ea70a0b0f0..48f6b6d1c2 100644
--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx
@@ -266,7 +266,7 @@ function AddEditLinkModal({
url: `/api/links?workspaceId=${workspaceId}`,
};
}
- }, [props, slug, domain]);
+ }, [props, slug, domain, workspaceId]);
const [atBottom, setAtBottom] = useState(false);
const handleScroll = useCallback((event: UIEvent<HTMLDivElement>) => {