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