The comments injected into auto-generated files have gotten misformatted due to linting. Here is the proper format, where both comments are adjacent to one another: ```js /* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */ /* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */ ``` Some comments were also written with casing issues, here's an example: ```js /* DO NOT MODIFY it because it could be re-written at any time. */ ```
17 lines
467 B
TypeScript
17 lines
467 B
TypeScript
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
|
import configPromise from '@payload-config'
|
|
import '@payloadcms/next/css'
|
|
import { RootLayout } from '@payloadcms/next/layouts'
|
|
import React from 'react'
|
|
|
|
import './custom.scss'
|
|
|
|
type Args = {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
const Layout = ({ children }: Args) => <RootLayout config={configPromise}>{children}</RootLayout>
|
|
|
|
export default Layout
|