Fix html hydrate error
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ const jsonLd = {
|
||||
|
||||
export default async function RootLayout({children, Session}) {
|
||||
return (
|
||||
<html lang='fr'>
|
||||
<html lang='fr' suppressHydrationWarning>
|
||||
<body>
|
||||
<NextTopLoader color='#ffeb3b' />
|
||||
<AuthProvider session={Session}>
|
||||
|
||||
@@ -254,7 +254,7 @@ function Koneksyon({chimen}) {
|
||||
<Typography gutterBottom textAlign='center'>Connectez-vous avec</Typography>
|
||||
<Grid container alignItems='center' justifyContent='center' columnSpacing={{xs: 1, sm: 2, md: 3}}>
|
||||
{PROVIDERS.map(({id, title, width, height}) => (
|
||||
<Grid key={id} item marginTop={1}>
|
||||
<Grid key={id} marginTop={1}>
|
||||
<LoginProvider id={id} title={title} width={width} height={height} callbackUrl={`${siteUrl}${chimen}`} />
|
||||
</Grid>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user