From e784b90de1a5c8a58b2b004e1dd133bbe4313039 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 21 Jun 2026 23:16:09 +0200 Subject: [PATCH] chore(og): remove next-intl to isolate satori crash --- app/[locale]/opengraph-image.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/[locale]/opengraph-image.tsx b/app/[locale]/opengraph-image.tsx index c28014fef..179124d91 100644 --- a/app/[locale]/opengraph-image.tsx +++ b/app/[locale]/opengraph-image.tsx @@ -1,5 +1,5 @@ import { ImageResponse } from 'next/og'; -import { getTranslations } from 'next-intl/server'; + import { OGImageTemplate } from '@/components/OGImageTemplate'; import { getOgFonts, OG_IMAGE_SIZE } from '@/lib/og-helper'; @@ -8,14 +8,12 @@ export const contentType = 'image/png'; export const runtime = 'nodejs'; export default async function Image({ params }: { params: Promise<{ locale: string }> }) { - const { locale } = await params; - const t = await getTranslations({ locale, namespace: 'Index.meta' }); const fonts = await getOgFonts(); return new ImageResponse( , {