Skip to content

Commit

Permalink
Block List: Remove unused onDeselect props
Browse files Browse the repository at this point in the history
Escape handling removed from block in f48ba1b
  • Loading branch information
aduth committed Mar 9, 2018
1 parent 07f6ec6 commit 4cb41ab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions editor/components/block-list/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -610,10 +609,6 @@ const mapDispatchToProps = ( dispatch, ownProps ) => ( {
dispatch( selectBlock( uid, initialPosition ) );
},

onDeselect() {
dispatch( clearSelectedBlock() );
},

onInsertBlocks( blocks, index ) {
const { rootUID, layout } = ownProps;

Expand Down

0 comments on commit 4cb41ab

Please sign in to comment.