diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 2c8b2124..2028e9c7 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -19,7 +19,7 @@ interface LayoutProps { export default function Layout({ children }: LayoutProps) { const location = useLocation(); - const { user, profile, signOut, loading } = useAuth(); + const { user, profile, roles, signOut, loading } = useAuth(); const navigation = [ { name: "Home", href: "/" },