Unverified Commit 4cc2afbb authored by Joseph Csoti's avatar Joseph Csoti Committed by GitHub

Edit Upgrade docs to correct new-link codemod (#42501)



## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
parent 7fd0f775
...@@ -65,7 +65,7 @@ import Link from 'next/link' ...@@ -65,7 +65,7 @@ import Link from 'next/link'
</Link> </Link>
``` ```
To upgrade your links to Next.js 13, you can use the [`next-link` codemod](/docs/advanced-features/codemods.md#remove-a-from-links-next-link). To upgrade your links to Next.js 13, you can use the [`new-link` codemod](/docs/advanced-features/codemods.md#new-link).
### `<Script>` Component ### `<Script>` Component
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment