import { AdminHeader } from '@/components/admin-header' import { AdminSidebar } from '@/components/admin-sidebar' import { AdminContentArea } from '@/components/admin-content-area' // Auth is enforced solely by middleware (auth.config.ts → authorized callback). // All cross-group navigation (admin ↔ main) uses tags (full page reload) // to avoid React Error #310 caused by Next.js 16.x route-group transition bug. export default function AdminLayout({ children, }: { children: React.ReactNode }) { return (
{children}
) }