We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca27ce commit 779fb47Copy full SHA for 779fb47
apps/frontend/src/components/layout/language.component.tsx
@@ -30,6 +30,7 @@ const getCountryCodeForFlag = (languageCode: string) => {
30
if (languageCode === 'he') return 'IL';
31
if (languageCode === 'ja') return 'JP';
32
if (languageCode === 'ko') return 'KR';
33
+
34
// Check if language code itself is a valid country code
35
try {
36
const countryName = countries.getName(languageCode.toUpperCase(), 'en');
0 commit comments