'use client'

import Grid from '@mui/material/Grid2'

import CategoryDetails from '@/views/categories/CategoryDetails'

type CategoryDetailsPageProps = {
  categoryId: string
}

const CategoryDetailsPage = ({ categoryId }: CategoryDetailsPageProps) => {
  return (
    <Grid container spacing={6}>
      <Grid size={12}>
        <CategoryDetails categoryId={categoryId} />
      </Grid>
    </Grid>
  )
}

export default CategoryDetailsPage
