26 lines
484 B
TypeScript
26 lines
484 B
TypeScript
"use client"
|
|
|
|
import type { Metadata } from "next";
|
|
import localFont from "next/font/local";
|
|
import "./globals.css";
|
|
import { SessionProvider } from "next-auth/react"
|
|
import { Toaster } from 'react-hot-toast';
|
|
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<SessionProvider>
|
|
{children}
|
|
<Toaster />
|
|
</SessionProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|