Skip to content

Commit f2c2db6

Browse files
committed
use custom component name to exclude sentry annotations when using react three fiber
1 parent f40979f commit f2c2db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ export default withSentryConfig(
432432
enabled: true,
433433
// ignore the "Canvas" component to avoid Sentry annotations
434434
// conflicts with react-three-fiber
435-
ignoredComponents: ['@react-three/fiber'],
435+
ignoredComponents: ['NeonRoadCanvas'],
436436
},
437437

438438
// Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
@@ -456,6 +456,6 @@ export default withSentryConfig(
456456
// See the following for more information:
457457
// https://docs.sentry.io/product/crons/
458458
// https://vercel.com/docs/cron-jobs
459-
automaticVercelMonitors: true,
459+
//automaticVercelMonitors: true,
460460
}
461461
)

0 commit comments

Comments
 (0)