aboutsummaryrefslogtreecommitdiff
path: root/web/src/app/layout.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-25 17:23:30 -0400
committerAndrew Lee <andrew@alee14.me>2025-03-25 17:23:30 -0400
commit2c783bdb703e4ad69c9f3f846c2c9e6a527ccc80 (patch)
treee02587b4dca4bd7027b4cc012d458b18392643ea /web/src/app/layout.js
parent1c12d378d66b92b1674acd17640f2bac752da289 (diff)
downloadAleeBot-2c783bdb703e4ad69c9f3f846c2c9e6a527ccc80.tar.gz
AleeBot-2c783bdb703e4ad69c9f3f846c2c9e6a527ccc80.tar.bz2
AleeBot-2c783bdb703e4ad69c9f3f846c2c9e6a527ccc80.zip
Implemented admin dashboard
Diffstat (limited to 'web/src/app/layout.js')
-rw-r--r--web/src/app/layout.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/src/app/layout.js b/web/src/app/layout.js
index bd8d805..2b6d521 100644
--- a/web/src/app/layout.js
+++ b/web/src/app/layout.js
@@ -1,5 +1,6 @@
import { Exo_2, JetBrains_Mono } from "next/font/google";
import "./globals.css";
+import { AuthProvider } from "@/context/middleware";
const exoSans = Exo_2({
variable: "--font-exo-sans",
@@ -22,7 +23,9 @@ export default function RootLayout({ children }) {
<body
className={`${exoSans.variable} ${jetbrainsMono.variable} antialiased`}
>
+ <AuthProvider>
{children}
+ </AuthProvider>
</body>
</html>
);