import { useRouter } from 'next/router' const Page = () =>
parts: {useRouter().query.parts?.join('/')}