diff --git a/space/next.config.js b/space/next.config.js index b36368720..352d9b61b 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 a7c658b59..256183e31 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 }