Skip to content

Commit

Permalink
Mobile - Block List - Block: Update hasSelectedInnerBlock selector to…
Browse files Browse the repository at this point in the history
… use the deep param
  • Loading branch information
Gerardo committed May 4, 2023
1 parent 1c12983 commit deac926
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function BlockListBlock( {
} = select( blockEditorStore );
const currentBlockType = getBlockType( name || 'core/missing' );
const blockOrder = getBlockIndex( clientId );
const innerBlockSelected = hasSelectedInnerBlock( clientId );
const innerBlockSelected = hasSelectedInnerBlock( clientId, true );
const selectedBlockClientId = getSelectedBlockClientId();

const parents = getBlockParents( clientId, true );
Expand Down

0 comments on commit deac926

Please sign in to comment.