From 4cb41ab3113070cca81f17c11198333f12f9ba8d Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 9 Mar 2018 16:17:46 -0500 Subject: [PATCH] Block List: Remove unused onDeselect props Escape handling removed from block in f48ba1b35cac914358c5f3c5496342b42b2ae483 --- editor/components/block-list/block.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/editor/components/block-list/block.js b/editor/components/block-list/block.js index 7b95a45ca6fec..84a775a0583ee 100644 --- a/editor/components/block-list/block.js +++ b/editor/components/block-list/block.js @@ -47,7 +47,6 @@ import IgnoreNestedEvents from './ignore-nested-events'; import InserterWithShortcuts from '../inserter-with-shortcuts'; import { createInnerBlockList } from './utils'; import { - clearSelectedBlock, editPost, insertBlocks, mergeBlocks, @@ -610,10 +609,6 @@ const mapDispatchToProps = ( dispatch, ownProps ) => ( { dispatch( selectBlock( uid, initialPosition ) ); }, - onDeselect() { - dispatch( clearSelectedBlock() ); - }, - onInsertBlocks( blocks, index ) { const { rootUID, layout } = ownProps;