Fix lit warnings (#9204)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Paulus Schoutsen
2021-05-18 15:01:43 -07:00
committed by GitHub
parent bc92c0b052
commit 1b9286db76
23 changed files with 161 additions and 129 deletions

View File

@@ -93,7 +93,6 @@ class HaMenuButton extends LitElement {
this.style.display = newNarrow || this._alwaysVisible ? "initial" : "none";
if (!newNarrow) {
this._hasNotifications = false;
if (this._unsubNotifications) {
this._unsubNotifications();
this._unsubNotifications = undefined;