diff --git a/packages/block-editor/src/components/block-preview/auto.js b/packages/block-editor/src/components/block-preview/auto.js index b6e6d5615f287..6e49f7909a93d 100644 --- a/packages/block-editor/src/components/block-preview/auto.js +++ b/packages/block-editor/src/components/block-preview/auto.js @@ -57,7 +57,7 @@ function AutoBlockPreview( { return styles; }, [ styles ] ); - const duotonePresets = useMemo( () => { + const svgFilters = useMemo( () => { return [ ...( duotone?.default ?? [] ), ...( duotone?.theme ?? [] ) ]; }, [ duotone ] ); @@ -117,7 +117,7 @@ function AutoBlockPreview( { { contentResizeListener } { /* Filters need to be rendered before children to avoid Safari rendering issues. */ - duotonePresets.map( ( preset ) => ( + svgFilters.map( ( preset ) => (