Files
mintel.me/apps/web/app/(payload)/layout.tsx
Marc Mintel 70de139cb0
Some checks failed
Build & Deploy / 🔍 Prepare (push) Failing after 21s
Build & Deploy / 🧪 QA (push) Has been skipped
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 1s
fix(ci): resolve tsc errors blocking QA stage (importMap and check-forms)
2026-03-02 17:39:38 +01:00

21 lines
588 B
TypeScript

import configPromise from "@payload-config";
import "@payloadcms/next/css";
import { RootLayout } from "@payloadcms/next/layouts";
import React from "react";
import { handleServerFunctions } from "./actions";
// @ts-expect-error - Payload generates this file during the build process
import { importMap } from "./admin/importMap";
export default function Layout({ children }: { children: React.ReactNode }) {
return (
<RootLayout
config={configPromise}
importMap={importMap}
serverFunction={handleServerFunctions}
>
{children}
</RootLayout>
);
}