diff --git a/packages/avatar/src/vaadin-lit-avatar.js b/packages/avatar/src/vaadin-lit-avatar.js index 314154addc..b5dec489ff 100644 --- a/packages/avatar/src/vaadin-lit-avatar.js +++ b/packages/avatar/src/vaadin-lit-avatar.js @@ -5,6 +5,7 @@ */ import './vaadin-avatar-icons.js'; import { html, LitElement } from 'lit'; +import { ifDefined } from 'lit/directives/if-defined.js'; import { defineCustomElement } from '@vaadin/component-base/src/define.js'; import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js'; import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js'; @@ -44,7 +45,7 @@ class Avatar extends AvatarMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElem return html`