Skip to content

Commit 4c424d5

Browse files
life2015valscion
andauthored
fix: handleValueChange.cancel is not a function (#625)
* fix: handleValueChange not a function * Move changelog to correct place --------- Co-authored-by: Vesa Laakso <[email protected]>
1 parent 021de3d commit 4c424d5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
1212

1313
## UNRELEASED
1414

15+
* **Bug Fix**
16+
* 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))
17+
1518
## 4.10.0
1619

1720
* **Improvement**

client/components/Search.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default class Search extends PureComponent {
1414
}
1515

1616
componentWillUnmount() {
17-
this.handleValueChange.cancel();
17+
this.handleValueChange.clear();
1818
}
1919

2020
render() {
@@ -79,7 +79,7 @@ export default class Search extends PureComponent {
7979
}
8080

8181
clear() {
82-
this.handleValueChange.cancel();
82+
this.handleValueChange.clear();
8383
this.informChange('');
8484
this.input.value = '';
8585
}

0 commit comments

Comments
 (0)