The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
smol type fixes
Steven Tey49167b8af41d
diff --git a/app/dub.sh/layout.tsx b/app/dub.sh/layout.tsxindex 11fa4ac670..0b2e924df4 100644--- a/app/dub.sh/layout.tsx+++ b/app/dub.sh/layout.tsx@@ -1,3 +1,4 @@+import { ReactNode } from "react";import MarketingProviders from "./providers";import Nav from "#/ui/home/nav";import Footer from "#/ui/home/footer";@@ -6,13 +7,19 @@ import MobileNav from "#/ui/home/nav-mobile";export const runtime = "edge";-export default function MarketingLayout(props) {+export default function MarketingLayout({+ children,+ modal,+}: {+ children: ReactNode;+ modal: ReactNode;+}) {return (- <MarketingProviders modal={props.modal}>+ <MarketingProviders modal={modal}><div className="flex min-h-screen flex-col justify-between"><MobileNav /><Nav />- {props.children}+ {children}<Footer /><Background /></div>diff --git a/app/dub.sh/providers.tsx b/app/dub.sh/providers.tsxindex 77da8c04c6..56c441c2fc 100644--- a/app/dub.sh/providers.tsx+++ b/app/dub.sh/providers.tsx@@ -9,7 +9,7 @@ export default function MarketingProviders({children,}: {modal: ReactNode;- children: React.ReactNode;+ children: ReactNode;}) {const segment = useSelectedLayoutSegment();return (