Skip to content

Commit 062c6e7

Browse files
committed
fix(nextjs): fix typo in config
1 parent 81b4da3 commit 062c6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ nextConfig = withRoutes(nextConfig);
7575
nextConfig = process.env.MONOREPO ? withTM(nextConfig) : nextConfig;
7676
nextConfig = process.env.SENTRY_AUTH_TOKEN
7777
? withSentryConfig(nextConfig, sentryWebpackPluginOptions)
78-
: (delete nextConfig.sentry, sentry); // Need to remove sentry config if not using in order to suppress warning
78+
: (delete nextConfig.sentry, nextConfig); // Need to remove sentry config if not using in order to suppress warning
7979

8080
export default nextConfig;

0 commit comments

Comments
 (0)