The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
wrap in suspense
Steven Teyd98dd4b3e6d3
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.tsxindex 7243bc735c..4f95f50007 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@@ -4,7 +4,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 { Background } from "@dub/ui";import va from "@vercel/analytics";import { AnimatePresence } from "framer-motion";import { ArrowLeft } from "lucide-react";@@ -41,7 +40,6 @@ export default function WelcomePageClient() {return (<div className="flex h-screen flex-col items-center">- <Background /><AddProjectModal /><UpgradePlanModal /><AnimatePresence mode="wait">diff --git a/apps/web/app/app.dub.co/(auth)/welcome/page.tsx b/apps/web/app/app.dub.co/(auth)/welcome/page.tsxindex 21ad3395d3..cc97ff803d 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,7 @@import { constructMetadata } from "@dub/utils";import WelcomePageClient from "./page-client";+import { Background } from "@dub/ui";+import { Suspense } from "react";export const runtime = "nodejs";@@ -8,5 +10,12 @@ export const metadata = constructMetadata({});export default function WelcomePage() {- return <WelcomePageClient />;+ return (+ <>+ <Background />+ <Suspense>+ <WelcomePageClient />+ </Suspense>+ </>+ );}