diff options
author | Sebastian <sebasjm@gmail.com> | 2021-10-19 11:17:54 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-10-19 11:17:54 -0300 |
commit | aac2bc389a32b2e91494d097a3f3fc9560ddbfbc (patch) | |
tree | 39516701b49f1b970b9989b7abf0445cd532e10d /packages/anastasis-webui/src/components/menu/LangSelector.tsx | |
parent | 5883d42d800c7b444c59d626bcaa5abca7dc83d0 (diff) | |
download | wallet-core-aac2bc389a32b2e91494d097a3f3fc9560ddbfbc.tar.xz |
fix some building errors
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 { |