diff --git a/docs/02-app/02-api-reference/01-components/link.mdx b/docs/02-app/02-api-reference/01-components/link.mdx index 7e46c17459a2a..bd5a98062d0cd 100644 --- a/docs/02-app/02-api-reference/01-components/link.mdx +++ b/docs/02-app/02-api-reference/01-components/link.mdx @@ -484,7 +484,7 @@ import useIsAuthed from './hooks/useIsAuthed' export default function Page() { const isAuthed = useIsAuthed() - const path = isAuthed ? '/auth/dashboard' : '/dashboard' + const path = isAuthed ? '/auth/dashboard' : '/public/dashboard' return ( Dashboard @@ -495,7 +495,7 @@ export default function Page() { -> **Good to know**: If you're using [Dynamic Routes](/docs/app/building-your-application/routing/dynamic-routes), you'll need to adapt your `as` and `href` props. For example, if you have a Dynamic Route like `/dashboard/[user]` that you want to present differently via middleware, you would write: `Profile`. +> **Good to know**: If you're using [Dynamic Routes](/docs/app/building-your-application/routing/dynamic-routes), you'll need to adapt your `as` and `href` props. For example, if you have a Dynamic Route like `/dashboard/authed/[user]` that you want to present differently via middleware, you would write: `Profile`.