From 2b7253bc55bbf5d358fe14f1552430a7999f64ea Mon Sep 17 00:00:00 2001 From: metart43 Date: Mon, 15 Apr 2024 12:41:34 +0100 Subject: [PATCH] feat: rename promo content wrapper to match image container This change applies the existing logic added to the image container. So we can avoiding duplication of this logic for the promotional content wrapper in the ft-app. --- components/x-teaser/src/PromotionaContent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/x-teaser/src/PromotionaContent.jsx b/components/x-teaser/src/PromotionaContent.jsx index 6ab8c35bd..50d6f1763 100644 --- a/components/x-teaser/src/PromotionaContent.jsx +++ b/components/x-teaser/src/PromotionaContent.jsx @@ -1,7 +1,7 @@ import { h } from '@financial-times/x-engine' const PromotionalContent = ({ promotionalContent }) => ( -
{promotionalContent}
+
{promotionalContent}
) export default PromotionalContent