From 74dfa10fbe2cf2dfdda407ef8abcbfe5dc6b81e5 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 9 Aug 2019 11:29:10 +0100 Subject: [PATCH] Restore the onhover behavior --- packages/block-editor/src/components/inserter/menu.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/block-editor/src/components/inserter/menu.js b/packages/block-editor/src/components/inserter/menu.js index 11c0080f97e28..54eb6697dd959 100644 --- a/packages/block-editor/src/components/inserter/menu.js +++ b/packages/block-editor/src/components/inserter/menu.js @@ -133,10 +133,6 @@ export class InserterMenu extends Component { } onHover( item ) { - if ( ! item ) { - return; - } - this.setState( { hoveredItem: item, } );