From 468f2da19c75dcfd0b37fba65e9a5e3b504009e9 Mon Sep 17 00:00:00 2001 From: Dominik Stumpf Date: Wed, 11 Dec 2024 16:20:56 +0100 Subject: [PATCH] fix: adjust build steps, address type errors --- next.config.js | 2 ++ src/components/GenericError.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 3874acf19d..1d55f0130f 100644 --- a/next.config.js +++ b/next.config.js @@ -183,5 +183,7 @@ module.exports = withSentryConfig( // https://docs.sentry.io/product/crons/ // https://vercel.com/docs/cron-jobs automaticVercelMonitors: true, + + sourcemaps: { deleteSourcemapsAfterUpload: true }, } ); diff --git a/src/components/GenericError.tsx b/src/components/GenericError.tsx index 72c494e91d..5afb9cd83f 100644 --- a/src/components/GenericError.tsx +++ b/src/components/GenericError.tsx @@ -31,7 +31,7 @@ export const GenericError = ({ error }: { error: CustomError | ZodError }) => { )} - {error.recoverable && ( + {convergedError.recoverable && (