File tree Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import "./globals.css";
4
4
import { ThemeProvider } from "@/components/theme-provider" ;
5
5
import { Toaster } from "@/components/ui/toaster" ;
6
6
import AuthProvider from "@/app/auth/auth-context" ;
7
+ import { Navbar } from "@/components/navbar" ;
7
8
8
9
const geistSans = localFont ( {
9
10
src : "./fonts/GeistVF.woff" ,
@@ -37,7 +38,10 @@ export default function RootLayout({
37
38
enableSystem
38
39
disableTransitionOnChange
39
40
>
40
- < AuthProvider > { children } </ AuthProvider >
41
+ < AuthProvider >
42
+ < Navbar />
43
+ { children }
44
+ </ AuthProvider >
41
45
< Toaster />
42
46
</ ThemeProvider >
43
47
</ body >
Original file line number Diff line number Diff line change
1
+ "use client" ;
2
+
1
3
import { useAuth } from "@/app/auth/auth-context" ;
2
4
import { usePathname } from "next/navigation" ;
3
5
You can’t perform that action at this time.
0 commit comments