Skip to content

Commit

Permalink
docs: fix URL for error message (#71788)
Browse files Browse the repository at this point in the history
## Description
Fix URL for https://nextjs.org/docs/messages/missing-root-layout-tags

❌wrong:
https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts#root-layout-required
✅correct:
https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates#root-layout-required

### Improving Documentation

- [x] Run `pnpm prettier-fix` to fix formatting issues before opening
the PR.
- [x] Read the Docs Contribution Guide to ensure your contribution
follows the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
Marukome0743 and ijjk authored Oct 29, 2024
1 parent d0b3342 commit 7308aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/missing-root-layout-tags.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ export default function Layout({ children }: { children: React.ReactNode }) {

### Useful Links

- [Root Layout](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts#root-layout-required)
- [Root Layout](https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates#root-layout-required)

0 comments on commit 7308aa8

Please sign in to comment.