use clearTimeout for loading indicator
This commit is contained in:
parent
e3966f03ed
commit
b80dc23c36
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Page extends React.PureComponent<Props, State> {
|
|||
|
||||
componentWillUnmount() {
|
||||
if (this.loaderTimeout) {
|
||||
this.loaderTimeout = null;
|
||||
clearTimeout(this.loaderTimeout);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue