fix: add ScaleOfImpact to MDX routes and ignore transient Next.js Server Action errors in Sentry

This commit is contained in:
2026-07-27 12:19:08 +02:00
parent 6b2dad26ec
commit aaec77598e
4 changed files with 9 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
import { notFound, redirect } from 'next/navigation';
import { getImageProps } from 'next/image';
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
import { Container, Badge, Heading } from '@/components/ui';
import { getTranslations, setRequestLocale } from 'next-intl/server';
import { Metadata } from 'next';
@@ -55,6 +56,7 @@ const mdxComponents = {
GrowthChart,
DeepDrillAnimation,
DataGridPulse,
ScaleOfImpact,
ResponsiveImage: (props: any) => {
let src = props.src;
if (typeof src === 'string' && src.startsWith('/_next/image')) {