diff --git a/packages/block-editor/src/components/global-styles/background-panel.js b/packages/block-editor/src/components/global-styles/background-panel.js index 1288ff823b46cd..c1354bbc4a4e14 100644 --- a/packages/block-editor/src/components/global-styles/background-panel.js +++ b/packages/block-editor/src/components/global-styles/background-panel.js @@ -492,9 +492,9 @@ function BackgroundSizeToolsPanelItem( { label={ __( 'Fixed' ) } /> - { sizeValue !== undefined && - sizeValue !== 'cover' && - sizeValue !== 'contain' ? ( + { currentValueForToggle !== undefined && + currentValueForToggle !== 'cover' && + currentValueForToggle !== 'contain' ? ( ); }