You have tried to use href
interpolation with next/link
in the /app
directory. This is not supported.
Before
<Link
href={{
pathname: '/route/[slug]',
query: { slug: '1' },
}}
>
link
</Link>
After
<Link href="/route/1">link</Link>