From b82d8715eca5f8fff1f4f8c19cfaf1845643095b Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Fri, 20 Sep 2024 13:34:33 -0700 Subject: [PATCH] Remove page title beta badge from Emotion utilities --- .../guide_tabbed_page/guide_tabbed_page.tsx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/packages/eui/src-docs/src/components/guide_tabbed_page/guide_tabbed_page.tsx b/packages/eui/src-docs/src/components/guide_tabbed_page/guide_tabbed_page.tsx index 8155a4a333a1..78116df13545 100644 --- a/packages/eui/src-docs/src/components/guide_tabbed_page/guide_tabbed_page.tsx +++ b/packages/eui/src-docs/src/components/guide_tabbed_page/guide_tabbed_page.tsx @@ -62,16 +62,15 @@ export const GuideTabbedPage: FunctionComponent = ({ const currentLanguage = themeContext.themeLanguage; const showSass = currentLanguage.includes('sass'); - const headerBadge = - isBeta || (showThemeLanguageToggle && !showSass) ? ( - - ) : isNew ? ( - - ) : undefined; + const headerBadge = isBeta ? ( + + ) : isNew ? ( + + ) : undefined; let tabs: | Array<{