Skip to content

Commit

Permalink
fix: handleValueChange not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
life2015 committed Nov 16, 2023
1 parent 021de3d commit 94faa92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
* **Internal**
* Make module much slimmer by replacing all `lodash.*` packages ([#612](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/612)) by [@sukkaw](https://github.com/sukkaw).

* **Bug Fix**
* fix `this.handleValueChange.cancel()` is not a function ([#611](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/625) by [@life2015](https://github.com/life2015))

## 4.9.1

* **Internal**
Expand Down
4 changes: 2 additions & 2 deletions client/components/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Search extends PureComponent {
}

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

render() {
Expand Down Expand Up @@ -79,7 +79,7 @@ export default class Search extends PureComponent {
}

clear() {
this.handleValueChange.cancel();
this.handleValueChange.clear();
this.informChange('');
this.input.value = '';
}
Expand Down

0 comments on commit 94faa92

Please sign in to comment.