Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 4s
Build & Deploy / 🧪 QA (push) Successful in 2m55s
Build & Deploy / 🏗️ Build (push) Successful in 11m40s
Build & Deploy / 🚀 Deploy (push) Failing after 8s
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
18 lines
420 B
TypeScript
18 lines
420 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;
|