26 lines
722 B
TypeScript
26 lines
722 B
TypeScript
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
|
import type { Metadata } from 'next';
|
|
import config from '@payload-config';
|
|
import { generatePageMetadata, RootPage } from '@payloadcms/next/views';
|
|
|
|
import { importMap } from '../importMap';
|
|
|
|
type Args = {
|
|
params: Promise<{
|
|
segments: string[];
|
|
}>;
|
|
searchParams: Promise<Record<string, string | string[]>>;
|
|
};
|
|
|
|
export const generateMetadata = ({
|
|
params,
|
|
searchParams,
|
|
}: Args): Promise<Metadata> =>
|
|
generatePageMetadata({ config, params, searchParams });
|
|
|
|
const Page = ({ params, searchParams }: Args) =>
|
|
RootPage({ config, params, searchParams, importMap });
|
|
|
|
export default Page;
|