Skip to content

Commit

Permalink
Rm unnecessary stopPropgation event
Browse files Browse the repository at this point in the history
  • Loading branch information
geido committed Feb 1, 2023
1 parent ede18be commit 7a5d26b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ class AdhocMetricOption extends React.PureComponent {
this.onRemoveMetric = this.onRemoveMetric.bind(this);
}

onRemoveMetric(e) {
e.stopPropagation();
onRemoveMetric() {
this.props.onRemoveMetric(this.props.index);
}

Expand Down

0 comments on commit 7a5d26b

Please sign in to comment.