From 27668f3d367b417a41f236ac37ae8f37c78b7b7c Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 4 Oct 2025 10:46:52 +0000 Subject: [PATCH] Rename default Layout function to CodeLayout cgen-fda112ec784e41faaf774cafbd6ac55d --- client/components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 01cc1ed5..6075a312 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -34,7 +34,7 @@ interface LayoutProps { children: React.ReactNode; } -export default function Layout({ children }: LayoutProps) { +export default function CodeLayout({ children }: LayoutProps) { const location = useLocation(); const { user, profile, roles, signOut, loading, profileComplete } = useAuth(); const isOwner = Array.isArray(roles) && roles.includes("owner");