mantine
mantine copied to clipboard
Don't modify head tag in next app router example
The Next docs for app router say that the <head> tag shouldn't be modified manually.
One repercussion of ignoring this advice is that Cypress e2e tests don't work anymore when testing an app router based Next app where the <head> tag was modified manually.
So I think the Mantine docs shouldn't propose doing this.
As far as I can tell, the <ColorSchemeScript /> works fine when put in the <body>.