From d498f694c7a6e829f702725699ca092ca1156d50 Mon Sep 17 00:00:00 2001 From: Quinta <0pietroquintavalle0@gmail.com> Date: Thu, 22 Aug 2024 02:43:57 +0200 Subject: [PATCH] Layout to the rescue? --- app/layout.tsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 04ffd09..15768b8 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,6 +1,8 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; import "./globals.css"; +import { AuthProvider } from "@/components/AuthProvider"; +import ErrorBoundary from "@/components/ErrorBoundary"; const inter = Inter({ subsets: ["latin"] }); @@ -10,13 +12,19 @@ export const metadata: Metadata = { }; export default function RootLayout({ - children, -}: Readonly<{ + children, + }: Readonly<{ children: React.ReactNode; }>) { return ( - - {children} - + + + + + {children} + + + + ); }