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 ProgramBrandingPage

Steven Tey9eaa4832eb6b
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/branding/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/branding/page-client.tsx
deleted file mode 100644
index d191fde804..0000000000
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/branding/page-client.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-"use client";
-
-import { BrandingForm } from "@/ui/partners/design/branding-form";
-
-export function ProgramBrandingLandingPageClient() {
- return <BrandingForm />;
-}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/branding/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/branding/page.tsx
index b8c16a3446..a2fb0cbc79 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/branding/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/branding/page.tsx
@@ -1,10 +1,8 @@
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
-import { PropsWithChildren } from "react";
+import { BrandingForm } from "@/ui/partners/design/branding-form";
-export default function ProgramBrandingLandingPage({
- children,
-}: PropsWithChildren) {
+export default function ProgramBrandingPage() {
return (
<PageContent
title="Branding"
@@ -15,7 +13,9 @@ export default function ProgramBrandingLandingPage({
}}
>
<PageWidthWrapper>
- <div className="mb-4 grid gap-10">{children}</div>
+ <div className="mb-4 grid gap-10">
+ <BrandingForm />
+ </div>
</PageWidthWrapper>
</PageContent>
);