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

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