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 bug

Steven Tey649e1cfc1234
diff --git a/apps/web/app/api/links/verify/route.ts b/apps/web/app/api/links/verify/route.ts
index 2787ed3fdc..a4496e25c9 100644
--- a/apps/web/app/api/links/verify/route.ts
+++ b/apps/web/app/api/links/verify/route.ts
@@ -18,8 +18,6 @@ export const GET = async (req: NextRequest) => {
.and(workspaceIdSchema)
.parse(searchParams);
- console.log({ domain, key, workspaceId });
-
const processedKey = processKey(key);
if (processedKey === null) {
throw new DubApiError({
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 b9d63f6435..4931c6d5cf 100644
--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx
@@ -280,7 +280,7 @@ function AddEditLinkModal({
if (key?.endsWith("-copy")) {
keyRef.current?.select();
}
- }, [key]);
+ }, []);
const { isMobile } = useMediaQuery();