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"; import { getSession } from "@lib/server/session"; interface RootLayoutProps { children: React.ReactNode } export default async function RootLayout({ children }: RootLayoutProps) { // TODO: this opts out of SSG const session = await getSession() return ( {children} ) }