From 2f2f291f433f0b8e48be437fe17f0696149949b6 Mon Sep 17 00:00:00 2001 From: Moritz Reiter Date: Mon, 6 Nov 2023 13:09:18 +0100 Subject: [PATCH] Don't modify head tag in next app router example The [Next docs for app router] say that the `` tag shouldn't be modified manually. One repercussion of ignoring this advice is that Cypress e2e tests don't work anymore when testing app router based Next app where the `` tag was modified manually. So I think the Mantine docs shouldn't propose doing this. As far as I can tell, the `` works fine when put in the ``. --- docs/src/pages/guides/next.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/src/pages/guides/next.mdx b/docs/src/pages/guides/next.mdx index b31678716df..a1a353dcc1d 100644 --- a/docs/src/pages/guides/next.mdx +++ b/docs/src/pages/guides/next.mdx @@ -126,10 +126,8 @@ export default function RootLayout({ }) { return ( - - - + {children}