mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Co-authored-by: Tim Neutkens <[email protected]> Fixes https://github.com/vercel/next.js/issues/42715
16 lines
231 B
JavaScript
16 lines
231 B
JavaScript
import Link from 'next/link'
|
|
|
|
export default function HomePage() {
|
|
return (
|
|
<Link
|
|
id="link"
|
|
href={{
|
|
pathname: '/object/[slug]',
|
|
query: { slug: '1' },
|
|
}}
|
|
>
|
|
to slug
|
|
</Link>
|
|
)
|
|
}
|