Skip to content

Commit

Permalink
fix: remove custom element definition
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Jun 4, 2022
1 parent 47c6c99 commit 8e30759
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Ripple } from "@material/mwc-ripple";
import { noChange } from "lit";
import { AttributePart, directive, Directive, DirectiveParameters } from "lit/directive";
import { AttributePart, directive, Directive, DirectiveParameters } from "lit/directive.js";
import { fireEvent } from "../../../../common/dom/fire_event";
import { deepEqual } from "../../../../common/util/deep-equal";
import { ActionHandlerDetail, ActionHandlerOptions } from "../../../../data/lovelace";
Expand Down Expand Up @@ -219,8 +219,6 @@ class ActionHandler extends HTMLElement implements ActionHandler {
}
}

customElements.define("action-handler", ActionHandler);

const getActionHandler = (): ActionHandler => {
const body = document.body;
if (body.querySelector("action-handler")) {
Expand Down

0 comments on commit 8e30759

Please sign in to comment.