diff --git a/packages/edit-site/src/components/global-styles/screen-colors.js b/packages/edit-site/src/components/global-styles/screen-colors.js index 18c90d7296c4c4..c843297a673989 100644 --- a/packages/edit-site/src/components/global-styles/screen-colors.js +++ b/packages/edit-site/src/components/global-styles/screen-colors.js @@ -47,7 +47,7 @@ function ScreenColors() { />
- { !! colorVariations.length && ( + { !! colorVariations?.length && ( ) } diff --git a/packages/edit-site/src/components/global-styles/screen-typography.js b/packages/edit-site/src/components/global-styles/screen-typography.js index 5731b5c043fabf..2ff58445c24c16 100644 --- a/packages/edit-site/src/components/global-styles/screen-typography.js +++ b/packages/edit-site/src/components/global-styles/screen-typography.js @@ -40,7 +40,7 @@ function ScreenTypography() { />
- { !! typographyVariations.length && ( + { !! typographyVariations?.length && ( ) } { ! window.__experimentalDisableFontLibrary && (