diff options
Diffstat (limited to 'packages/anastasis-webui/src/components/menu/LangSelector.tsx')
-rw-r--r-- | packages/anastasis-webui/src/components/menu/LangSelector.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/anastasis-webui/src/components/menu/LangSelector.tsx b/packages/anastasis-webui/src/components/menu/LangSelector.tsx index 41d08a58b..0f91abd7e 100644 --- a/packages/anastasis-webui/src/components/menu/LangSelector.tsx +++ b/packages/anastasis-webui/src/components/menu/LangSelector.tsx @@ -38,9 +38,9 @@ const names: LangsNames = { it: 'Italiano [it]', } -function getLangName(s: keyof LangsNames | string) { +function getLangName(s: keyof LangsNames | string): string { if (names[s]) return names[s] - return s + return String(s) } export function LangSelector(): VNode { |