import "@styles/globals.css" import { ServerThemeProvider } from "next-themes" import { LayoutWrapper } from "./root-layout-wrapper" import styles from '@styles/Home.module.css'; import { cookies } from "next/headers"; interface RootLayoutProps { children: React.ReactNode } export default async function RootLayout({ children }: RootLayoutProps) { const cookiesList = cookies(); const hasNextAuth = cookiesList.get("next-auth.session-token") !== undefined; return ( Drift {children} ) }