Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: nextjs config sentry

sriram veeraghanta204e4a8c6d34
diff --git a/space/next.config.js b/space/next.config.js
index b363687205..352d9b61b3 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 a7c658b591..256183e31a 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 }