Skip to content

Commit

Permalink
chore: fix invalid-new-link error typo (#45157)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasmez committed Jan 24, 2023
1 parent 752136e commit 57d0e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/invalid-new-link-with-extra-anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npx @next/codemod new-link .

This will change `<Link><a id="link">Home<a></Link>` to `<Link id="link">Home</Link>`.

Alternatively, you can add the `legacyBehavior` prop `<Link legacyBehavior><a id="link">Home<a></Link>`.
Alternatively, you can add the `legacyBehavior` prop `<Link legacyBehavior><a id="link">Home</a></Link>`.

### Useful Links

Expand Down

0 comments on commit 57d0e77

Please sign in to comment.