Skip to content

Commit

Permalink
remove inadvertent commit
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Oct 31, 2022
1 parent fa678a0 commit f3bfcb5
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 @@ -168,12 +168,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 f3bfcb5

Please sign in to comment.