Upgrade to NextAuth v5

This commit is contained in:
2024-06-18 11:10:30 +04:00
parent 5491d996b8
commit 157951b10e
9 changed files with 64 additions and 90 deletions
+4 -4
View File
@@ -11,16 +11,16 @@ import AuthProvider from './auth-provider.js'
export default function RootLayout({children, Session}) { // eslint-disable-line react/prop-types
return (
<html lang='fr'>
<body>
<AuthProvider session={Session}>
<AuthProvider session={Session}>
<body>
<AppRouterCacheProvider>
<ThemeProvider theme={theme}>
<CssBaseline />
{children}
</ThemeProvider>
</AppRouterCacheProvider>
</AuthProvider>
</body>
</body>
</AuthProvider>
</html>
)
}