Skip to content

Commit

Permalink
remove inadvertent commit
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Mar 12, 2023
1 parent 1af30d6 commit 717f18b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/block-library/src/cover/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,9 @@ export function CoverEdit( {
const hasBackground = !! ( url || overlayColor.color || gradientValue );

const hasInnerBlocks = useSelect(
( select ) => {
return (
select( blockEditorStore ).getBlock( clientId ).innerBlocks
.length > 0
);
},
( select ) =>
select( blockEditorStore ).getBlock( clientId ).innerBlocks.length >
0,
[ clientId ]
);

Expand Down

0 comments on commit 717f18b

Please sign in to comment.