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 { Container, Heading, Badge } from '@/components/ui';
import { getImageProps } from 'next/image';
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
import { getTranslations, setRequestLocale } from 'next-intl/server';
import { Metadata } from 'next';
import { getAllReferences } from '@/lib/references';
@@ -41,6 +42,7 @@ const mdxComponents = {
li: CustomLi,
p: (props: any) => <p className="text-neutral-600 text-sm mb-4 leading-relaxed" {...props} />,
Heading,
ScaleOfImpact,
ResponsiveImage: (props: any) => {
let src = props.src;
if (typeof src === 'string' && src.startsWith('/_next/image')) {