mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +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();
|
||||
const polyfillProm = polyfillLoaded
|
||||
? import("@formatjs/intl-pluralrules/polyfill-locales").then(() => {
|
||||
? undefined
|
||||
: import("@formatjs/intl-pluralrules/polyfill-locales").then(() => {
|
||||
polyfillLoaded = true;
|
||||
})
|
||||
: undefined;
|
||||
});
|
||||
|
||||
/**
|
||||
* Adapted from Polymer app-localize-behavior.
|
||||
|
Loading…
x
Reference in New Issue
Block a user