The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
move email editor
Steven Tey3f030b88af7a
diff --git a/apps/web/app/(ee)/app.dub.co/(program-email)/layout.tsx b/apps/web/app/(ee)/app.dub.co/(program-email)/layout.tsxdeleted file mode 100644index da7c616922..0000000000--- a/apps/web/app/(ee)/app.dub.co/(program-email)/layout.tsx+++ /dev/null@@ -1,10 +0,0 @@-import WorkspaceAuth from "app/app.dub.co/(dashboard)/[slug]/auth";-import { ReactNode } from "react";--export default function ProgramEmailLayout({- children,-}: {- children: ReactNode;-}) {- return <WorkspaceAuth>{children}</WorkspaceAuth>;-}diff --git a/apps/web/app/(ee)/app.dub.co/(program-email)/[slug]/program/emails/[emailId]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page-client.tsxsimilarity index 100%rename from apps/web/app/(ee)/app.dub.co/(program-email)/[slug]/program/emails/[emailId]/page-client.tsxrename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page-client.tsxdiff --git a/apps/web/app/(ee)/app.dub.co/(program-email)/[slug]/program/emails/[emailId]/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page.tsxsimilarity index 100%rename from apps/web/app/(ee)/app.dub.co/(program-email)/[slug]/program/emails/[emailId]/page.tsxrename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/emails/[emailId]/page.tsxdiff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsxindex bdbcf05bdb..e13c10ddd5 100644--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx@@ -421,6 +421,8 @@ export function AppSidebarNav({// TODO: remove when we migrate to Next.js 15 + PPRpathname.endsWith("/guides") ||pathname.includes("/guides/") ||+ // for the email editor page+ pathname.includes("/program/emails/") ||// this one is for the payout success pagepathname.endsWith("/program/payouts/success")? null