Skip to content

Commit 8b5ca5a

Browse files
committed
Inserter: Clarify inline comment
1 parent 3bb29ad commit 8b5ca5a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/block-editor/src/components/inserter/block-list.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ export function InserterBlockList( {
120120
{ hasChildItems && (
121121
<ChildBlocks rootClientId={ rootClientId }>
122122
<BlockTypesList
123-
// Pass along every block, as getInserterItems() will have
124-
// already filtered out non-child blocks.
123+
// Pass along every block, as useBlockTypesState() and
124+
// getInserterItems() will have already filtered out
125+
// non-child blocks.
125126
items={ filteredItems }
126127
onSelect={ onSelectItem }
127128
onHover={ onHover }

0 commit comments

Comments
 (0)