import { createFileRoute } from '@tanstack/react-router'
import { GroupDetail } from '@/features/admin/groups/GroupDetail'

export const Route = createFileRoute('/admin/groups/$groupId')({ component: GroupDetailRoute })

function GroupDetailRoute() {
  const { groupId } = Route.useParams()
  return <GroupDetail groupId={groupId} />
}
