import { createFileRoute } from '@tanstack/react-router'
import { ChannelDetail } from '@/features/admin/channels/ChannelDetail'

export const Route = createFileRoute('/admin/channels/$channelId')({
  component: ChannelDetailRoute,
})

function ChannelDetailRoute() {
  const { channelId } = Route.useParams()
  return <ChannelDetail channelId={channelId} />
}
