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.

Create layout.tsx

Tim Wilsonfc0032736f93
diff --git a/apps/web/app/app.dub.co/(new-program)/[slug]/layout.tsx b/apps/web/app/app.dub.co/(new-program)/[slug]/layout.tsx
new file mode 100644
index 0000000000..c785bc8545
--- /dev/null
+++ b/apps/web/app/app.dub.co/(new-program)/[slug]/layout.tsx
@@ -0,0 +1,10 @@
+import WorkspaceAuth from "app/app.dub.co/(dashboard)/[slug]/auth";
+import { ReactNode } from "react";
+
+export default function NewProgramWorkspaceLayout({
+ children,
+}: {
+ children: ReactNode;
+}) {
+ return <WorkspaceAuth>{children}</WorkspaceAuth>;
+}