diff --git a/packages/edit-site/src/components/global-styles/variations/variations-typography.js b/packages/edit-site/src/components/global-styles/variations/variations-typography.js index 440aec3d943113..16c4133ea061a9 100644 --- a/packages/edit-site/src/components/global-styles/variations/variations-typography.js +++ b/packages/edit-site/src/components/global-styles/variations/variations-typography.js @@ -28,35 +28,35 @@ export default function TypographyVariations() { columns={ 3 } className="edit-site-global-styles-style-variations-container" > - { typographyVariations && - typographyVariations.length && - typographyVariations.map( ( variation, index ) => ( - - { ( isFocused ) => ( - - { ( { ratio, key } ) => ( - - - - ) } - - ) } - - ) ) } + { typographyVariations && typographyVariations.length + ? typographyVariations.map( ( variation, index ) => ( + + { ( isFocused ) => ( + + { ( { ratio, key } ) => ( + + + + ) } + + ) } + + ) ) + : null } );