use clearTimeout for loading indicator

This commit is contained in:
Sean Yesmunt 2018-07-18 12:49:05 -04:00
parent e3966f03ed
commit b80dc23c36

View file

@ -46,7 +46,7 @@ class Page extends React.PureComponent<Props, State> {
componentWillUnmount() {
if (this.loaderTimeout) {
this.loaderTimeout = null;
clearTimeout(this.loaderTimeout);
}
}