Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix: localeConfig fix
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsha-deriv committed Nov 27, 2023
1 parent 3c08280 commit 39acb44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ const config = {
defaultLocale: 'en',
locales: ['en', 'es', 'zh-Hans', 'zh-Hant', 'fr', 'de', 'vi', 'th'],
localeConfigs: {
en: {
label: 'English',
},
es: {
label: 'Español',
},
fr: {
label: 'Français',
},
de: {
label: 'Deutsch',
},
vi: {
label: 'Tiếng Việt',
},
th: {
label: 'Thai',
},
Expand Down
2 changes: 1 addition & 1 deletion src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function LocaleDropdownNavbarItem({
case 'th':
return 'TH';
default:
return '';
return 'EN';
}
};

Expand Down

0 comments on commit 39acb44

Please sign in to comment.