Core - CYS: fix inter font not applied (#44544)
* Core - CYS: fix inter font not applied * remove logs * add changelog
This commit is contained in:
parent
143388dae8
commit
738a57fe98
|
@ -94,11 +94,10 @@ export const PreloadFonts = () => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { custom, theme } = enabledFontFamilies;
|
const { custom } = enabledFontFamilies;
|
||||||
|
|
||||||
const enabledFontSlugs = [
|
const enabledFontSlugs = [
|
||||||
...( custom ? custom.map( ( font ) => font.slug ) : [] ),
|
...( custom ? custom.map( ( font ) => font.slug ) : [] ),
|
||||||
...( theme ? theme.map( ( font ) => font.slug ) : [] ),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const fontFamiliesToEnable = parsedInstalledFontFamilies.reduce(
|
const fontFamiliesToEnable = parsedInstalledFontFamilies.reduce(
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
Core - CYS: fix Inter font not applied.
|
Loading…
Reference in New Issue