remove the provider stuff

This commit is contained in:
StephDietz
2023-09-20 12:29:30 -05:00
parent 3fbc296c7a
commit 2ad29a79e1
2 changed files with 1 additions and 11 deletions

View File

@@ -1,7 +0,0 @@
'use client';
import { SessionProvider } from 'next-auth/react';
export const AuthProvider = ({ children }) => {
return <SessionProvider>{children}</SessionProvider>;
};

View File

@@ -1,7 +1,6 @@
import './global.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import { AuthProvider } from './Providers';
const inter = Inter({ subsets: ['latin'] });
@@ -17,9 +16,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>
<AuthProvider>{children}</AuthProvider>
</body>
<body className={inter.className}>{children}</body>
</html>
);
}