Skip to content

Commit

Permalink
Block Library: Remove redundant condition from setting default groupi…
Browse files Browse the repository at this point in the history
…ng (#22563)
  • Loading branch information
aduth committed May 23, 2020
1 parent b37b807 commit c422309
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/block-library/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,7 @@ export const registerCoreBlocks = () => {
setFreeformContentHandlerName( classic.name );
}
setUnregisteredTypeHandlerName( missing.name );

if ( group ) {
setGroupingBlockName( group.name );
}
setGroupingBlockName( group.name );
};

/**
Expand Down

0 comments on commit c422309

Please sign in to comment.