diff --git a/app/layout.tsx b/app/layout.tsx index 5c386c7f..56f2e2bc 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,17 +1,8 @@ -import type { Metadata } from "next"; -import { Inter } from "next/font/google"; -import "./globals.css"; -import { headers } from "next/headers"; import { getServerSession } from "next-auth"; import { authOptions } from "./api/auth/[...nextauth]/route"; +import { redirect } from "next/navigation"; import { Providers } from "@/components/providers"; import { LayoutWrapper } from "@/components/layout/layout-wrapper"; -import { Navbar } from "@/components/navbar"; -import { ThemeProvider } from "@/components/theme-provider"; -import { Toaster } from "@/components/ui/toaster"; -import { redirect } from "next/navigation"; - -const inter = Inter({ subsets: ["latin"] }); export default async function RootLayout({ children, @@ -27,22 +18,11 @@ export default async function RootLayout({ return (
-