Wrap app with SessionProvider in root layout
This commit is contained in:
+2
-1
@@ -1,5 +1,6 @@
|
||||
import type { Metadata, Viewport } from "next/types";
|
||||
import "./globals.css";
|
||||
import Providers from "@/components/Providers";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
@@ -34,7 +35,7 @@ export default function RootLayout({
|
||||
<link rel="apple-touch-icon" href="/icons/icon-192x192.png" />
|
||||
</head>
|
||||
<body className="bg-dark-900 text-white antialiased">
|
||||
{children}
|
||||
<Providers>{children}</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user