diff --git a/packages/ui/src/components/Molecules/LanguageSwitcher.tsx b/packages/ui/src/components/Molecules/LanguageSwitcher.tsx index 5684fef3f..a59fb2f93 100644 --- a/packages/ui/src/components/Molecules/LanguageSwitcher.tsx +++ b/packages/ui/src/components/Molecules/LanguageSwitcher.tsx @@ -37,25 +37,22 @@ export function LanguageSwitcher() {
- + {getLanguageName(currentLocale as string)} -
- +
{otherLocales.map((locale) => ( @@ -64,7 +61,7 @@ export function LanguageSwitcher() { @@ -73,8 +70,8 @@ export function LanguageSwitcher() { ) : ( {getLanguageName(locale as string)} diff --git a/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx b/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx index f278d6db9..596a50f38 100644 --- a/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx +++ b/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx @@ -7,7 +7,7 @@ import { isTruthy } from '../../../utils/isTruthy'; export function BlockImageTeasers(props: BlockImageTeasersFragment) { return ( // eslint-disable-next-line tailwindcss/no-custom-classname -
+
{props.image ? ( {props.image.alt}