From 7308aa8a231a4e70b814560ff1f93eb3c93fff8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9E=E3=83=AB=E3=82=B3=E3=83=A1?= Date: Wed, 30 Oct 2024 03:59:10 +0900 Subject: [PATCH] docs: fix URL for error message (#71788) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 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 --- errors/missing-root-layout-tags.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors/missing-root-layout-tags.mdx b/errors/missing-root-layout-tags.mdx index d54df296d5a63..4becf81f873f1 100644 --- a/errors/missing-root-layout-tags.mdx +++ b/errors/missing-root-layout-tags.mdx @@ -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)