diff --git a/packages/edit-site/src/components/global-styles/style-variations-container.js b/packages/edit-site/src/components/global-styles/style-variations-container.js index aba86183ebb60..18fc6f6ad9056 100644 --- a/packages/edit-site/src/components/global-styles/style-variations-container.js +++ b/packages/edit-site/src/components/global-styles/style-variations-container.js @@ -110,6 +110,10 @@ export default function StyleVariationsContainer( { gap = 2 } ) { ]; }, [ fullStyleVariations, userStyles?.blocks, userStyles?.css ] ); + if ( ! fullStyleVariations || fullStyleVariations?.length < 1 ) { + return null; + } + return (