diff --git a/space/next.config.js b/space/next.config.js index b363687205b..352d9b61b3f 100644 --- a/space/next.config.js +++ b/space/next.config.js @@ -27,7 +27,7 @@ const nextConfig = { output: "standalone", }; -if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0"), 10) { +if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0", 10)) { module.exports = withSentryConfig(nextConfig, { silent: true, authToken: process.env.SENTRY_AUTH_TOKEN }, { hideSourceMaps: true } diff --git a/web/next.config.js b/web/next.config.js index a7c658b5912..256183e31ab 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -25,7 +25,7 @@ const nextConfig = { output: "standalone", }; -if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0"), 10) { +if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0", 10)) { module.exports = withSentryConfig(nextConfig, { silent: true, authToken: process.env.SENTRY_AUTH_TOKEN }, { hideSourceMaps: true }