Skip to content

Commit

Permalink
fix: handleValueChange.cancel is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
life2015 committed Nov 14, 2023
1 parent 021de3d commit 7f41c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/Search.jsx
Expand Up @@ -14,7 +14,7 @@ export default class Search extends PureComponent {
}

componentWillUnmount() {
this.handleValueChange.cancel();
this.handleValueChange.cancel && this.handleValueChange.cancel();
}

render() {
Expand Down

0 comments on commit 7f41c16

Please sign in to comment.