diff --git a/apps/web/app/partners.dub.co/(dashboard)/account/settings/layout.tsx b/apps/web/app/partners.dub.co/(dashboard)/account/settings/layout.tsx new file mode 100644 index 0000000000..4b835ca42c --- /dev/null +++ b/apps/web/app/partners.dub.co/(dashboard)/account/settings/layout.tsx @@ -0,0 +1,11 @@ +import { MaxWidthWrapper } from "@dub/ui"; + +export default function PartnerSettingsLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + {children} + ); +} diff --git a/apps/web/app/partners.dub.co/(dashboard)/layout.tsx b/apps/web/app/partners.dub.co/(dashboard)/layout.tsx index 0a899461a1..cb4d66be85 100644 --- a/apps/web/app/partners.dub.co/(dashboard)/layout.tsx +++ b/apps/web/app/partners.dub.co/(dashboard)/layout.tsx @@ -1,16 +1,15 @@ import { MainNav } from "@/ui/layout/main-nav"; import { HelpButtonRSC } from "@/ui/layout/sidebar/help-button-rsc"; import { PartnersSidebarNav } from "@/ui/layout/sidebar/partners-sidebar-nav"; -import { MaxWidthWrapper } from "@dub/ui"; -export default function DashboardLayout({ +export default function PartnerDashboardLayout({ children, }: { children: React.ReactNode; }) { return ( } sidebar={PartnersSidebarNav}> - {children} + {children} ); }