diff --git a/src/utils/localeCode2Text.jsx b/src/utils/localeCode2Text.jsx index 5c8ada7f..aea47ef1 100644 --- a/src/utils/localeCode2Text.jsx +++ b/src/utils/localeCode2Text.jsx @@ -1,6 +1,6 @@ import mem from './mem'; -const IntlDN = new Intl.DisplayNames(navigator.languages, { +const IntlDN = new Intl.DisplayNames(undefined, { type: 'language', });