diff --git a/app/[locale]/[slug]/page.tsx b/app/[locale]/[slug]/page.tsx index 0ee37ce85..9287ce589 100644 --- a/app/[locale]/[slug]/page.tsx +++ b/app/[locale]/[slug]/page.tsx @@ -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')) { diff --git a/app/[locale]/blog/[slug]/page.tsx b/app/[locale]/blog/[slug]/page.tsx index 3e44cf2e2..2f81e246d 100644 --- a/app/[locale]/blog/[slug]/page.tsx +++ b/app/[locale]/blog/[slug]/page.tsx @@ -1,5 +1,6 @@ import { notFound, redirect } from 'next/navigation'; import { getImageProps } from 'next/image'; +import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact'; import JsonLd from '@/components/JsonLd'; import { SITE_URL } from '@/lib/schema'; import { @@ -25,6 +26,7 @@ const mdxComponents = { h2: (props: any) => , h3: (props: any) => , h4: (props: any) => , + ScaleOfImpact, ResponsiveImage: (props: any) => { let src = props.src; if (typeof src === 'string' && src.startsWith('/_next/image')) { diff --git a/app/[locale]/referenzen/page.tsx b/app/[locale]/referenzen/page.tsx index af260619f..b389df21a 100644 --- a/app/[locale]/referenzen/page.tsx +++ b/app/[locale]/referenzen/page.tsx @@ -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) =>

, Heading, + ScaleOfImpact, ResponsiveImage: (props: any) => { let src = props.src; if (typeof src === 'string' && src.startsWith('/_next/image')) { diff --git a/lib/services/errors/glitchtip-error-reporting-service.ts b/lib/services/errors/glitchtip-error-reporting-service.ts index 7817e4a78..c744f19d1 100644 --- a/lib/services/errors/glitchtip-error-reporting-service.ts +++ b/lib/services/errors/glitchtip-error-reporting-service.ts @@ -56,6 +56,9 @@ export class GlitchtipErrorReportingService implements ErrorReportingService { tracesSampleRate: this.options.tracesSampleRate ?? 0.1, replaysOnErrorSampleRate: 1.0, replaysSessionSampleRate: 0.1, + ignoreErrors: [ + 'Failed to find Server Action. This request might be from an older or newer deployment.', + ], }); } return Sentry;