Add mantineHtmlProps

This commit is contained in:
Vitaly Rtishchev
2024-12-10 14:15:53 +04:00
parent 9dc776f1b2
commit da65f3102c

View File

@ -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" />