diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 7f1d5b49..fe014f91 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -32,9 +32,10 @@ import { interface LayoutProps { children: React.ReactNode; + hideFooter?: boolean; } -export default function CodeLayout({ children }: LayoutProps) { +export default function CodeLayout({ children, hideFooter }: LayoutProps) { const location = useLocation(); const { user, profile, roles, signOut, loading, profileComplete } = useAuth(); const isOwner = Array.isArray(roles) && roles.includes("owner"); @@ -371,6 +372,7 @@ export default function CodeLayout({ children }: LayoutProps) {
{children}
+ {!hideFooter && ( + )} {/* Supabase Configuration Status */}