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 ts error

Steven Tey3d840b875d6b
diff --git a/apps/web/app/app.dub.co/(auth)/welcome/page-client.tsx b/apps/web/app/app.dub.co/(auth)/welcome/page-client.tsx
index 8b73e8043e..115166c180 100644
--- a/apps/web/app/app.dub.co/(auth)/welcome/page-client.tsx
+++ b/apps/web/app/app.dub.co/(auth)/welcome/page-client.tsx
@@ -5,7 +5,6 @@ import { useAddProjectModal } from "#/ui/modals/add-project-modal";
import { useUpgradePlanModal } from "#/ui/modals/upgrade-plan-modal";
import Interim from "#/ui/welcome/interim";
import Intro from "#/ui/welcome/intro";
-import Meta from "@/components/layout/meta";
import { Background } from "@dub/ui";
import va from "@vercel/analytics";
import { AnimatePresence } from "framer-motion";
@@ -51,7 +50,6 @@ export default function WelcomePageClient() {
return (
<div className="flex h-screen flex-col items-center">
- <Meta title="Welcome to Dub" />
<Background />
<AddProjectModal />
<AddEditLinkModal />
diff --git a/apps/web/app/app.dub.co/(auth)/welcome/page.tsx b/apps/web/app/app.dub.co/(auth)/welcome/page.tsx
index 717803b337..5aad7058fa 100644
--- a/apps/web/app/app.dub.co/(auth)/welcome/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/welcome/page.tsx
@@ -1,5 +1,10 @@
+import { constructMetadata } from "@dub/utils";
import WelcomePageClient from "./page-client";
+export const metadata = constructMetadata({
+ title: "Welcome to Dub",
+});
+
export default function WelcomePage() {
return <WelcomePageClient />;
}