import "@styles/globals.css" import { LayoutWrapper } from "./root-layout-wrapper" import styles from "@styles/Home.module.css" import { getSession } from "@lib/server/session" import ThemeProvider from "@components/theme/ThemeProvider" import { THEME_COOKIE_NAME } from "@components/theme/theme" interface RootLayoutProps { children: React.ReactNode } export default async function RootLayout({ children }: RootLayoutProps) { // TODO: this opts out of SSG const session = await getSession() return (