Skip to content

Commit

Permalink
Remove page title beta badge from Emotion utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Sep 20, 2024
1 parent 6bbfad7 commit b82d871
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,15 @@ export const GuideTabbedPage: FunctionComponent<GuideTabbedPageProps> = ({
const currentLanguage = themeContext.themeLanguage;
const showSass = currentLanguage.includes('sass');

const headerBadge =
isBeta || (showThemeLanguageToggle && !showSass) ? (
<EuiBetaBadge
label="Beta"
color="accent"
tooltipContent="This component is still under development and may contain breaking changes in the nearby future."
/>
) : isNew ? (
<EuiBetaBadge label="New" color="accent" />
) : undefined;
const headerBadge = isBeta ? (
<EuiBetaBadge
label="Beta"
color="accent"
tooltipContent="This component is still under development and may contain breaking changes in the nearby future."
/>
) : isNew ? (
<EuiBetaBadge label="New" color="accent" />
) : undefined;

let tabs:
| Array<{
Expand Down

0 comments on commit b82d871

Please sign in to comment.