fix(web): remove withPayload wrapper (crashes entire prod app)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-06 01:38:47 +01:00
parent c5bf1c303f
commit 479d6a454a

View File

@@ -1,5 +1,4 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
import { withPayload } from "@payloadcms/next/withPayload";
import env from "./env.config"; import env from "./env.config";
@@ -116,4 +115,4 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: env.ANALYZE, enabled: env.ANALYZE,
}); });
export default withPayload(withBundleAnalyzer(config)); export default withBundleAnalyzer(config);