Skip to content

Commit

Permalink
Avoid special case for root block
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Dec 10, 2024
1 parent 8552a54 commit 234bcdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function BlockTypesTab(
continue;
}

if ( rootClientId && item.isAllowedInCurrentRoot ) {
if ( item.isAllowedInCurrentRoot ) {
itemsForCurrentRoot.push( item );
} else {
itemsRemaining.push( item );
Expand Down

0 comments on commit 234bcdd

Please sign in to comment.