Minor: use clearTimeout
instead of clearInterval
in <Message>
This commit is contained in:
parent
116ff74be8
commit
0c99604585
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ export class Message extends React.PureComponent<Props, State> {
|
|||
|
||||
public componentWillUnmount(): void {
|
||||
if (this.selectedTimeout) {
|
||||
clearInterval(this.selectedTimeout);
|
||||
clearTimeout(this.selectedTimeout);
|
||||
}
|
||||
if (this.expirationCheckInterval) {
|
||||
clearInterval(this.expirationCheckInterval);
|
||||
|
|
Loading…
Reference in a new issue