import Link from 'next/link'
function GroupCategory({ currentCategory, categoryOptions }) {
if (!categoryOptions) {
return <>>
}
return (
{categoryOptions.map(category => {
const selected = currentCategory === category.name
return (
{/* */}
{category.name}
{/*
{category.count}
*/}
)
})}
)
}
export default GroupCategory