diff --git a/app/layout.tsx b/app/layout.tsx index 271723fc..5c386c7f 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,8 +2,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/next"; -import { authOptions } from "@/app/api/auth/[...nextauth]/route"; +import { getServerSession } from "next-auth"; +import { authOptions } from "./api/auth/[...nextauth]/route"; import { Providers } from "@/components/providers"; import { LayoutWrapper } from "@/components/layout/layout-wrapper"; import { Navbar } from "@/components/navbar"; @@ -33,11 +33,15 @@ export default async function RootLayout({ enableSystem disableTransitionOnChange > -