mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-09 20:12:02 +10:00
Add mantineHtmlProps
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import '@mantine/core/styles.css';
|
||||
|
||||
import React from 'react';
|
||||
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
|
||||
import { ColorSchemeScript, mantineHtmlProps, MantineProvider } from '@mantine/core';
|
||||
import { theme } from '../theme';
|
||||
|
||||
export const metadata = {
|
||||
@ -11,7 +11,7 @@ export const metadata = {
|
||||
|
||||
export default function RootLayout({ children }: { children: any }) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<html lang="en" {...mantineHtmlProps}>
|
||||
<head>
|
||||
<ColorSchemeScript />
|
||||
<link rel="shortcut icon" href="/favicon.svg" />
|
||||
|
||||
Reference in New Issue
Block a user