withDispatch( ( dispatch, ownProps ) => {
const { selectBlock } = dispatch( 'core/block-editor' );
return {
selectBlock: () => {
selectBlock( ownProps.clientId );
},
};
} )
withDispatch( ( dispatch, ownProps ) => {
const { selectBlock } = dispatch( 'core/block-editor' );
return {
selectBlock: () => {
selectBlock( ownProps.clientId );
},
};
} )