aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/app/layout.tsx')
-rw-r--r--frontend/src/app/layout.tsx29
1 files changed, 14 insertions, 15 deletions
diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx
index 3314e47..00da3a9 100644
--- a/frontend/src/app/layout.tsx
+++ b/frontend/src/app/layout.tsx
@@ -1,22 +1,21 @@
-import type { Metadata } from "next";
-import { Inter } from "next/font/google";
+import type {Metadata} from "next";
+import {Inter} from "next/font/google";
import "./globals.css";
+import {UserProvider} from "@auth0/nextjs-auth0/client";
-const inter = Inter({ subsets: ["latin"] });
+const inter = Inter({subsets: ["latin"]});
export const metadata: Metadata = {
- title: "Create Next App",
- description: "Generated by create next app",
+ title: "Create Next App",
+ description: "Generated by create next app",
};
-export default function RootLayout({
- children,
-}: Readonly<{
- children: React.ReactNode;
-}>) {
- return (
- <html lang="en">
- <body className={inter.className}>{children}</body>
- </html>
- );
+export default function RootLayout({children,}: Readonly<{ children: React.ReactNode; }>) {
+ return (
+ <html lang="en">
+ <UserProvider>
+ <body className={inter.className}>{children}</body>
+ </UserProvider>
+ </html>
+ );
}