From fcb7c140c33cc6c1ad9a5bdc7f3da7b4a7c98c24 Mon Sep 17 00:00:00 2001 From: Arjun Komath Date: Sun, 30 Nov 2025 08:32:29 +1100 Subject: [PATCH] Remove jira widget --- apps/page/next.config.js | 16 +++------------- .../layout/auth-layout.component.tsx | 6 ------ apps/web/next.config.js | 18 ++++-------------- 3 files changed, 7 insertions(+), 33 deletions(-) diff --git a/apps/page/next.config.js b/apps/page/next.config.js index d631183..c52eeed 100644 --- a/apps/page/next.config.js +++ b/apps/page/next.config.js @@ -1,4 +1,4 @@ -const withBundleAnalyzer = require("@next/bundle-analyzer")({}); +const { withSentryConfig } = require("@sentry/nextjs"); const ContentSecurityPolicy = ` script-src 'self' 'unsafe-eval' 'unsafe-inline' blob: *; @@ -46,8 +46,7 @@ const securityHeaders = [ }, ]; -// Your existing module.exports -const moduleExports = { +const nextConfig = { async headers() { return [ { @@ -109,17 +108,8 @@ const moduleExports = { }, }; -module.exports = - process.env.ANALYZE === "true" - ? withBundleAnalyzer(moduleExports) - : moduleExports; - -// Injected content via Sentry wizard below - -const { withSentryConfig } = require("@sentry/nextjs"); - module.exports = withSentryConfig( - module.exports, + nextConfig, { // For all available options, see: // https://github.com/getsentry/sentry-webpack-plugin#options diff --git a/apps/web/components/layout/auth-layout.component.tsx b/apps/web/components/layout/auth-layout.component.tsx index 5b19e2a..5a527fc 100644 --- a/apps/web/components/layout/auth-layout.component.tsx +++ b/apps/web/components/layout/auth-layout.component.tsx @@ -5,12 +5,6 @@ export default function AuthLayout({ children }) {
{children} -