Show Complete Setup CTA when profile incomplete

cgen-cbb31aaa2e744b078c64bc0abb8aad5b
This commit is contained in:
Builder.io 2025-09-28 01:02:15 +00:00
parent f5bb409cc2
commit f52ebf8228

View file

@ -21,7 +21,7 @@ interface LayoutProps {
export default function Layout({ children }: LayoutProps) {
const location = useLocation();
const { user, profile, roles, signOut, loading } = useAuth();
const { user, profile, roles, signOut, loading, profileComplete } = useAuth();
const isOwner = Array.isArray(roles) && roles.includes("owner");
const navigation = [