Core - CYS: fix inter font not applied (#44544)

* Core - CYS: fix inter font not applied

* remove logs

* add changelog
This commit is contained in:
Luigi Teschio 2024-02-12 15:09:04 +01:00 committed by GitHub
parent 143388dae8
commit 738a57fe98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -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(

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Core - CYS: fix Inter font not applied.