Skip to content

Commit

Permalink
Update to remote isFunction check in favour of direct check
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Oct 23, 2019
1 parent bdb6217 commit d0a348b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/url-input/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class URLInput extends Component {
}
}

if ( isFunction( this.props.onKeyDown ) ) {
if ( this.props.onKeyDown ) {
this.props.onKeyDown( event, suggestion );
}
}
Expand Down

0 comments on commit d0a348b

Please sign in to comment.