import { createFileRoute } from '@tanstack/react-router'
import { CollectionDetail } from '@/features/admin/collections/CollectionDetail'

export const Route = createFileRoute('/admin/collections/$collectionId')({
  component: CollectionDetailRoute,
})

function CollectionDetailRoute() {
  const { collectionId } = Route.useParams()
  return <CollectionDetail collectionId={collectionId} />
}
