Wrap app with SessionProvider in root layout

This commit is contained in:
Wycz
2026-09-08 08:32:23 +02:00
parent 10a30a93dd
commit baa93cf221
+2 -1
View File
@@ -1,5 +1,6 @@
import type { Metadata, Viewport } from "next/types"; import type { Metadata, Viewport } from "next/types";
import "./globals.css"; import "./globals.css";
import Providers from "@/components/Providers";
export const metadata: Metadata = { export const metadata: Metadata = {
title: { title: {
@@ -34,7 +35,7 @@ export default function RootLayout({
<link rel="apple-touch-icon" href="/icons/icon-192x192.png" /> <link rel="apple-touch-icon" href="/icons/icon-192x192.png" />
</head> </head>
<body className="bg-dark-900 text-white antialiased"> <body className="bg-dark-900 text-white antialiased">
{children} <Providers>{children}</Providers>
</body> </body>
</html> </html>
); );