From 479d6a454a29d1eeec5385a6c87544e82c995472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Mon, 6 Apr 2026 01:38:47 +0100 Subject: [PATCH] fix(web): remove withPayload wrapper (crashes entire prod app) Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/next.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 9bc4c29..8f83169 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -1,5 +1,4 @@ import type { NextConfig } from "next"; -import { withPayload } from "@payloadcms/next/withPayload"; import env from "./env.config"; @@ -116,4 +115,4 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: env.ANALYZE, }); -export default withPayload(withBundleAnalyzer(config)); +export default withBundleAnalyzer(config);