Remove unused isOwner variable from Layout
cgen-6129c71bbc9f45bb9219c2eb26a9a958
This commit is contained in:
parent
86f568873c
commit
2e4ea28bcf
1 changed files with 1 additions and 2 deletions
|
|
@ -64,8 +64,7 @@ const ARM_LOGOS: Record<string, string> = {
|
|||
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 = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue