1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

Cursor: use clearTimeout

This commit is contained in:
Paulus Schoutsen
2025-12-03 23:40:07 -05:00
parent 4fbbf8c42c
commit 45b93c045a

View File

@@ -90,7 +90,7 @@ class HaPanelApp extends LitElement {
this._sessionKeepAlive = undefined;
}
if (this._fetchDataTimeout) {
clearInterval(this._fetchDataTimeout);
clearTimeout(this._fetchDataTimeout);
this._fetchDataTimeout = undefined;
}
}
@@ -263,7 +263,7 @@ class HaPanelApp extends LitElement {
this._loadingMessage = undefined;
if (this._fetchDataTimeout) {
clearInterval(this._fetchDataTimeout);
clearTimeout(this._fetchDataTimeout);
this._fetchDataTimeout = undefined;
}