From 90f657ce8da3ef3b8898bf1b1c37f129009ca813 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 25 Feb 2026 01:50:16 +0100 Subject: [PATCH] fix: show frontmatter description as fallback when Lexical content has no description nodes --- app/[locale]/products/[...slug]/page.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/[locale]/products/[...slug]/page.tsx b/app/[locale]/products/[...slug]/page.tsx index 09a91506..dd8be8e9 100644 --- a/app/[locale]/products/[...slug]/page.tsx +++ b/app/[locale]/products/[...slug]/page.tsx @@ -402,7 +402,13 @@ export default async function ProductPage({ params }: ProductPageProps) { {/* Description Area Next to Sidebar */}
- + {descriptionChildren.length > 0 ? ( + + ) : product.frontmatter.description ? ( +

+ {product.frontmatter.description} +

+ ) : null}