Skip to content

Commit

Permalink
Revert "Fix editor break on Unified toolbar (#11996)"
Browse files Browse the repository at this point in the history
This reverts commit 3726c56.
  • Loading branch information
youknowriad committed Nov 19, 2018
1 parent 558f3f5 commit eee99f1
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ import { withSelect } from '@wordpress/data';
const { Fill: PluginBlockSettingsMenuGroup, Slot } = createSlotFill( 'PluginBlockSettingsMenuGroup' );

const PluginBlockSettingsMenuGroupSlot = ( { fillProps, selectedBlocks } ) => {
if ( !! selectedBlocks ) {
return null;
}
selectedBlocks = map( selectedBlocks, ( block ) => block.name );
return (
<Slot fillProps={ { ...fillProps, selectedBlocks } } >
Expand Down

0 comments on commit eee99f1

Please sign in to comment.