/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
import React from 'react'
import { AdminLayout } from '@payloadcms/next/layouts/Admin'
import configPromise from '@payload-config'

export default async ({ children }: { children: React.ReactNode }) => (
  <AdminLayout config={configPromise}>{children}</AdminLayout>
)
