chore: add suppressHydrationWarning

This commit is contained in:
Aslam H
2024-08-11 05:40:06 +07:00
parent e82cb9ee3d
commit 66b692ee76

View File

@@ -30,7 +30,7 @@ export default function RootLayout({
children: React.ReactNode children: React.ReactNode
}>) { }>) {
return ( return (
<html lang="en" className="h-full w-full"> <html lang="en" className="h-full w-full" suppressHydrationWarning>
<body className={cn("h-full w-full font-sans antialiased", inter.variable)}> <body className={cn("h-full w-full font-sans antialiased", inter.variable)}>
<JazzProvider> <JazzProvider>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem> <ThemeProvider attribute="class" defaultTheme="system" enableSystem>