Show Complete Setup CTA when profile incomplete
cgen-cbb31aaa2e744b078c64bc0abb8aad5b
This commit is contained in:
parent
f5bb409cc2
commit
f52ebf8228
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue