Skip to content

Commit

Permalink
Remove unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Sep 18, 2024
1 parent e4d44d2 commit 827da74
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/panels/lovelace/editor/hui-sub-form-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ import {
PropertyValues,
TemplateResult,
} from "lit";
import { customElement, property, query, state } from "lit/decorators";
import { customElement, property, state } from "lit/decorators";
import { fireEvent } from "../../../common/dom/fire_event";
import "../../../components/ha-form/ha-form";
import "../../../components/ha-icon-button";
import "../../../components/ha-icon-button-prev";
import "../../../components/ha-yaml-editor";
import "../../../components/ha-alert";
import type { HaYamlEditor } from "../../../components/ha-yaml-editor";
import type { HomeAssistant } from "../../../types";
import type { LovelaceConfigForm } from "../types";
import type { EditSubFormEvent } from "./types";
Expand Down Expand Up @@ -51,8 +50,6 @@ export class HuiSubFormEditor<T = any> extends LitElement {

@state() private _warnings?: string[];

@query("ha-yaml-editor") private _yamlEditor?: HaYamlEditor;

protected render(): TemplateResult {
const uiAvailable = !this.hasWarning && !this.hasError;

Expand Down

0 comments on commit 827da74

Please sign in to comment.