Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Failing after 32s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
18 lines
438 B
TypeScript
18 lines
438 B
TypeScript
import configPromise from '@payload-config';
|
|
import { RootPage } from '@payloadcms/next/views';
|
|
import { importMap } from '../importMap';
|
|
|
|
type Args = {
|
|
params: Promise<{
|
|
segments: string[];
|
|
}>;
|
|
searchParams: Promise<{
|
|
[key: string]: string | string[];
|
|
}>;
|
|
};
|
|
|
|
const Page = ({ params, searchParams }: Args) =>
|
|
RootPage({ config: configPromise, importMap, params, searchParams });
|
|
|
|
export default Page;
|