diff --git a/libs/ui/src/lib/language-switcher/index.tsx b/libs/ui/src/lib/language-switcher/index.tsx index 56c0c488..be3808a8 100644 --- a/libs/ui/src/lib/language-switcher/index.tsx +++ b/libs/ui/src/lib/language-switcher/index.tsx @@ -25,21 +25,24 @@ const LanguageSwitcher = ({ inverted }: LanguageSwitcherProps) => { }; return ( - onLanguageSelect(code as LocaleCodes)} - > - {i18n.locales.map((locale) => ( - - {locale.flag} {locale.name} - - ))} - + ); };