🚨(add-desk) remove hydratation warning

When working with Next, some browser (like Brave) gives us
warning about hydratation. This commit remove this warning.
This commit is contained in:
Anthony LC
2024-01-18 14:11:57 +01:00
committed by Anthony LC
parent 38997fef6a
commit e8186408a0

View File

@@ -18,7 +18,7 @@ export default function RootLayout({
return (
<html lang="en">
<body>
<body suppressHydrationWarning={process.env.NODE_ENV === 'development'}>
<QueryClientProvider client={queryClient}>
<ReactQueryDevtools />
<CunninghamProvider theme={theme}>{children}</CunninghamProvider>