From ac115564495b2caff75737e2566da27f002b6dc1 Mon Sep 17 00:00:00 2001 From: Mathias Oterhals Myklebust Date: Fri, 27 Sep 2024 11:33:39 +0200 Subject: [PATCH] feat(LanguageSwitcher): use language code instead of flag emoji --- src/components/languageSwitcher/LanguageSwitcher.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/languageSwitcher/LanguageSwitcher.tsx b/src/components/languageSwitcher/LanguageSwitcher.tsx index e3d477b3e..d601f7b34 100644 --- a/src/components/languageSwitcher/LanguageSwitcher.tsx +++ b/src/components/languageSwitcher/LanguageSwitcher.tsx @@ -13,7 +13,9 @@ export default function LanguageSwitcher() { (slugTranslation) => slugTranslation?.language && ( - {slugTranslation.language.icon} + + {slugTranslation.language.id.toUpperCase()} + ), )}