Bind QueryMakerTab event handlers

pull/10616/head
Brandon Farmer 2018-04-06 16:57:58 -07:00
parent dad41a7f5c
commit 5fa100f1c5
1 changed files with 2 additions and 2 deletions

View File

@ -33,11 +33,11 @@ class QueryMakerTab extends PureComponent<Props> {
)
}
private handleSelect() {
private handleSelect = () => {
this.props.onSelect(this.props.queryIndex)
}
private handleDelete(e) {
private handleDelete = e => {
e.stopPropagation()
this.props.onDelete(this.props.queryIndex)
}