Skip to content

Commit

Permalink
cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten committed Feb 4, 2022
1 parent 269a342 commit 6690b5b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/ha-date-input.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import "@material/mwc-button/mwc-button";
import { mdiCalendar } from "@mdi/js";
import "@polymer/paper-input/paper-input";
import "app-datepicker";
import { css, CSSResultGroup, html, LitElement } from "lit";
import { customElement, property } from "lit/decorators";
import { formatDateNumeric } from "../common/datetime/format_date";
import { fireEvent } from "../common/dom/fire_event";
import { HomeAssistant } from "../types";
import "./ha-dialog";
import "./ha-svg-icon";

const loadDatePickerDialog = () => import("./ha-dialog-date-picker");
Expand All @@ -32,7 +29,7 @@ const showDatePickerDialog = (
};
@customElement("ha-date-input")
export class HaDateInput extends LitElement {
@property() public locale!: HomeAssistant["locale"];
@property({ attribute: false }) public locale!: HomeAssistant["locale"];

@property() public value?: string;

Expand Down

0 comments on commit 6690b5b

Please sign in to comment.