diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index ea225921..ec366ce3 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -64,8 +64,7 @@ const ARM_LOGOS: Record = { export default function CodeLayout({ children, hideFooter }: LayoutProps) { const location = useLocation(); const navigate = useNavigate(); - const { user, profile, roles, signOut, loading, profileComplete } = useAuth(); - const isOwner = Array.isArray(roles) && roles.includes("owner"); + const { user, profile, signOut, loading, profileComplete } = useAuth(); const [mobileArmsOpen, setMobileArmsOpen] = useState(false); const navigation = [