Skip to content

Commit

Permalink
Remove unused comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryj authored and draganescu committed May 29, 2024
1 parent a8b51dc commit 23ae559
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@ export function BlockTypesTab(
{ rootClientId, onInsert, onHover, showMostUsedBlocks },
ref
) {
// Find the root of what we _can_ insert into for this block.
// const { rootContentBlockId } = useSelect( ( select ) => {
// // Try the empty root first.
// const { getAllowedBlockTypes } = select( 'core/block-editor' );

// select( 'core/block-editor' ).getInserterItems( rootClientId );

// }, [] );

const [ allItems, items, categories, collections, onSelectItem ] =
useBlockTypesState( rootClientId, onInsert );

Expand Down

0 comments on commit 23ae559

Please sign in to comment.