Skip to content

Commit

Permalink
Use style
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Sep 18, 2024
1 parent cb780fc commit 90ef9ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/panels/lovelace/cards/hui-heading-card.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CSSResultGroup, LitElement, css, html, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { classMap } from "lit/directives/class-map";
import { ifDefined } from "lit/directives/if-defined";
import "../../../components/ha-card";
import "../../../components/ha-icon";
Expand Down Expand Up @@ -75,7 +74,7 @@ export class HuiHeadingCard extends LitElement implements LovelaceCard {
<ha-card>
<div class="container">
<div
class="content ${classMap({ [style]: true })}"
class="content ${style}"
@action=${this._handleAction}
.actionHandler=${actionHandler()}
role=${ifDefined(actionable ? "button" : undefined)}
Expand Down

0 comments on commit 90ef9ab

Please sign in to comment.