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.

Merge branch 'main' into clicks-migration

Steven Tey18cf084e88a6
diff --cc apps/web/package.json
index 4b9413f60d,664c1f3594..c75e932231
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@@ -52,9 -52,10 +52,9 @@@
"he": "^1.2.0",
"html-escaper": "^3.0.3",
"js-cookie": "^3.0.5",
- "linkify-react": "^4.1.3",
"lucide-react": "^0.299.0",
"nanoid": "^5.0.1",
- "next": "14.0.5-canary.55",
+ "next": "14.1.1-canary.27",
"next-auth": "^4.24.4",
"node-html-parser": "^6.1.4",
"nodemailer": "^6.9.3",
diff --cc apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
index 093409d8c1,488f39c3a4..d40b238034
--- a/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
+++ b/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
@@@ -40,7 -40,14 +40,15 @@@ export default function DomainInput(
[domain],
);
+ const { isMobile } = useMediaQuery();
+ const domainRef = useRef<HTMLInputElement>(null);
+ const subdomainRef = useRef<HTMLInputElement>(null);
+
+ useEffect(() => {
+ if (domainType === "website") {
+ subdomainRef.current?.focus();
+ }
+ }, [domainType]);
return (
<>