Skip to content

Commit

Permalink
fix(Search): prevent duplicate onChange handler call (#7613)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod authored Jan 22, 2021
1 parent a0cef80 commit 5c1ba53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react/src/components/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ export default class Search extends Component {
this.setState({
hasContent: evt.target.value !== '',
});

this.props.onChange(evt);
};

handleKeyDown = (evt) => {
Expand Down

0 comments on commit 5c1ba53

Please sign in to comment.