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