import React from 'react'
import useIsAdminPage from '~/hooks/useIsAdminPage'
import NavItem from './navItem'
import styles from './adminNav.module.css'
export default function AdminNav({children}){
const isAdminPage = useIsAdminPage()
if(!isAdminPage)
return (