mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-30 21:13:42 +03:00
Pass undefined
to Intl.DisplayNames
, so '*'
doesn't break it
This commit is contained in:
parent
60289cdb29
commit
225eaf4a2d
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import mem from './mem';
|
||||
|
||||
const IntlDN = new Intl.DisplayNames(navigator.languages, {
|
||||
const IntlDN = new Intl.DisplayNames(undefined, {
|
||||
type: 'language',
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue