import { ReactNode } from "react"

import { requireAdminSession } from "@/lib/auth-server"

export const dynamic = "force-dynamic"
export const runtime = "nodejs"

export default async function AdminLayout({ children }: { children: ReactNode }) {
  await requireAdminSession()
  return <>{children}</>
}
