import { ContentSkeleton } from '@admin/components/layouts/content-skeleton'
import { Suspense } from 'react'
import { AuthGate } from './auth-gate'

export default function AdminAuthLayout({ children }: { children: React.ReactNode }) {
  return (
    <Suspense fallback={<ContentSkeleton />}>
      <AuthGate>{children}</AuthGate>
    </Suspense>
  )
}
