mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 17:56:46 +00:00
Fix polyfill check (#7575)
This commit is contained in:
parent
e52be20fba
commit
8361b9553b
@ -15,10 +15,10 @@ export interface FormatsType {
|
|||||||
|
|
||||||
let polyfillLoaded = !shouldPolyfill();
|
let polyfillLoaded = !shouldPolyfill();
|
||||||
const polyfillProm = polyfillLoaded
|
const polyfillProm = polyfillLoaded
|
||||||
? import("@formatjs/intl-pluralrules/polyfill-locales").then(() => {
|
? undefined
|
||||||
|
: import("@formatjs/intl-pluralrules/polyfill-locales").then(() => {
|
||||||
polyfillLoaded = true;
|
polyfillLoaded = true;
|
||||||
})
|
});
|
||||||
: undefined;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adapted from Polymer app-localize-behavior.
|
* Adapted from Polymer app-localize-behavior.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user