From 27c9d24c55a452c213ddb92f32aa003936ed4e32 Mon Sep 17 00:00:00 2001 From: Addison-Stavlo Date: Mon, 16 Sep 2024 16:19:22 -0400 Subject: [PATCH] remove hasTranslation check added from 93926 --- .../src/highlight-cards/highlight-cards-heading.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/components/src/highlight-cards/highlight-cards-heading.tsx b/packages/components/src/highlight-cards/highlight-cards-heading.tsx index 06d8e19480dbd..f4c6408df867b 100644 --- a/packages/components/src/highlight-cards/highlight-cards-heading.tsx +++ b/packages/components/src/highlight-cards/highlight-cards-heading.tsx @@ -1,18 +1,13 @@ -import { useHasEnTranslation } from '@automattic/i18n-utils'; import { useTranslate } from 'i18n-calypso'; export default function HighlightCardsHeading( { children }: { children: React.ReactNode } ) { const translate = useTranslate(); - const hasEnTranslation = useHasEnTranslation(); - const hasTranslation = hasEnTranslation( 'Updates every 30 minutes' ); return (

{ children }

- { hasTranslation && ( -
- { translate( 'Updates every 30 minutes' ) } -
- ) } +
+ { translate( 'Updates every 30 minutes' ) } +
); }