From f3581dc8d04d6868f7deb6f3a8143f9e1467991b Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 27 Sep 2025 21:10:11 +0000 Subject: [PATCH] Import roles from auth context in Layout cgen-f68fb9181f46415bad588c963da96446 --- client/components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: "/" },