Rename default Layout function to CodeLayout

cgen-fda112ec784e41faaf774cafbd6ac55d
This commit is contained in:
Builder.io 2025-10-04 10:46:52 +00:00
parent e2d8d289d1
commit 27668f3d36

View file

@ -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");