Skip to content

Commit 95ec41d

Browse files
committed
Fix checked to component is unmounted
1 parent 8a505ad commit 95ec41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default (loader, { placeholder } = {}) => {
2525
}
2626

2727
componentWillUnmount() {
28-
this.mounting = true;
28+
this.mounting = false;
2929
}
3030

3131
render() {

0 commit comments

Comments
 (0)