Next Auth Google provider
This commit is contained in:
+9
-6
@@ -1,4 +1,5 @@
|
||||
import Navbar from '@/components/Navbar';
|
||||
import AuthProvider from '@/components/AuthProvider';
|
||||
import '@/assets/styles/globals.css';
|
||||
|
||||
export const metadata = {
|
||||
@@ -9,12 +10,14 @@ export const metadata = {
|
||||
|
||||
const MainLayout = ({ children }) => {
|
||||
return (
|
||||
<html lang='en'>
|
||||
<body>
|
||||
<Navbar />
|
||||
<main>{children}</main>
|
||||
</body>
|
||||
</html>
|
||||
<AuthProvider>
|
||||
<html lang='en'>
|
||||
<body>
|
||||
<Navbar />
|
||||
<main>{children}</main>
|
||||
</body>
|
||||
</html>
|
||||
</AuthProvider>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user