From 6082aee09e5d83255dc33bbdf17bd6c55574674e Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Fri, 10 Feb 2023 10:03:52 +1100 Subject: [PATCH] Remove unnecessary variation properties. --- packages/block-library/src/cover/variations.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/block-library/src/cover/variations.js b/packages/block-library/src/cover/variations.js index d905cce29e64d7..37c04d9a3cb987 100644 --- a/packages/block-library/src/cover/variations.js +++ b/packages/block-library/src/cover/variations.js @@ -13,11 +13,6 @@ const variations = [ ), attributes: { layout: { type: 'constrained' } }, isDefault: true, - scope: [ 'block', 'inserter', 'transform' ], - isActive: ( blockAttributes ) => - ! blockAttributes.layout || - ! blockAttributes.layout?.type || - blockAttributes.layout?.type === 'constrained', icon: cover, }, ];