From 5b505ec3f227b38249d5021b6405bb8d732d4a75 Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Tue, 13 Apr 2021 17:22:53 +0300 Subject: [PATCH] Update docs suggestion Co-authored-by: Miguel Fonseca --- packages/block-editor/src/store/selectors.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/block-editor/src/store/selectors.js b/packages/block-editor/src/store/selectors.js index 5a55a6151f0ff4..2641d68534a21c 100644 --- a/packages/block-editor/src/store/selectors.js +++ b/packages/block-editor/src/store/selectors.js @@ -1898,11 +1898,11 @@ export const __experimentalGetPatternTransformItems = createSelector( ( state, blocks, rootClientId = null ) => { if ( ! blocks ) return EMPTY_ARRAY; /** - * For now we only hanlde blocks without InnerBlocks and take into account - * the `role` property of block's attributes for the transformation. - * Noting that blocks have been retrieved through `getBlock`, that doen't - * return the child inner blocks of an inner block controller, so we still - * need to check for this case too. + * For now we only handle blocks without InnerBlocks and take into account + * the `role` property of blocks' attributes for the transformation. Note + * that the blocks have been retrieved through `getBlock`, which doesn't + * return the inner blocks of an inner block controller, so we still need + * to check for this case too. */ if ( blocks.some(