From f2d37643e3f0cefa7b4875885903e5821703d0fe 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/languageSwitcher/LanguageSwitcher.tsx b/src/components/languageSwitcher/LanguageSwitcher.tsx index e3d477b3e..e361c8e8c 100644 --- a/src/components/languageSwitcher/LanguageSwitcher.tsx +++ b/src/components/languageSwitcher/LanguageSwitcher.tsx @@ -13,7 +13,7 @@ export default function LanguageSwitcher() { (slugTranslation) => slugTranslation?.language && ( - {slugTranslation.language.icon} + {slugTranslation.language.id.toUpperCase()} ), )}