diff --git a/apps/web/app/(payload)/actions.ts b/apps/web/app/(payload)/actions.ts index 9b469be..c46ac4b 100644 --- a/apps/web/app/(payload)/actions.ts +++ b/apps/web/app/(payload)/actions.ts @@ -1,7 +1,7 @@ "use server"; import { handleServerFunctions as payloadHandleServerFunctions } from "@payloadcms/next/layouts"; import config from "@payload-config"; -// @ts-expect-error - Payload generates this file during the build process +// @ts-ignore - Payload generates this file during the build process import { importMap } from "./admin/importMap"; export const handleServerFunctions = async (args: any) => { diff --git a/apps/web/app/(payload)/admin/[[...segments]]/page.tsx b/apps/web/app/(payload)/admin/[[...segments]]/page.tsx index ad31d7a..cbdd0b5 100644 --- a/apps/web/app/(payload)/admin/[[...segments]]/page.tsx +++ b/apps/web/app/(payload)/admin/[[...segments]]/page.tsx @@ -2,7 +2,7 @@ import type { Metadata } from "next"; import configPromise from "@payload-config"; import { RootPage, generatePageMetadata } from "@payloadcms/next/views"; -// @ts-expect-error - Payload generates this file during the build process +// @ts-ignore - Payload generates this file during the build process import { importMap } from "../importMap"; type Args = { diff --git a/apps/web/app/(payload)/layout.tsx b/apps/web/app/(payload)/layout.tsx index a4be70e..cd7e216 100644 --- a/apps/web/app/(payload)/layout.tsx +++ b/apps/web/app/(payload)/layout.tsx @@ -4,7 +4,7 @@ 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 +// @ts-ignore - Payload generates this file during the build process import { importMap } from "./admin/importMap"; export default function Layout({ children }: { children: React.ReactNode }) {