diff options
author | 2024-08-05 22:01:50 -0700 | |
---|---|---|
committer | 2024-08-05 22:01:50 -0700 | |
commit | 9f655af04e728f359801552c0aac9ba204c5bbbf (patch) | |
tree | ac169a43b060be1b0c3fb40f16cfcdf145a84086 /frontend/src/app/layout.tsx | |
parent | f566fa80a9fb0f1af1198a62b60a80bb6ee1983b (diff) | |
download | ibd-trader-9f655af04e728f359801552c0aac9ba204c5bbbf.tar.gz ibd-trader-9f655af04e728f359801552c0aac9ba204c5bbbf.tar.zst ibd-trader-9f655af04e728f359801552c0aac9ba204c5bbbf.zip |
Initial implementation
Diffstat (limited to 'frontend/src/app/layout.tsx')
-rw-r--r-- | frontend/src/app/layout.tsx | 29 |
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> + ); } |