import { useParams } from 'react-router'

export default function Component() {
  const { id } = useParams()

  return <>user single {id}</>
}
