Skip to content

Commit 91d5644

Browse files
committed
revert change to firstUpdated
1 parent 8cf814b commit 91d5644

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/uui-base/lib/mixins/LabelMixin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export const LabelMixin = <T extends Constructor<LitElement>>(
3737
@property({ type: String })
3838
public label!: string;
3939

40-
firstUpdated() {
40+
firstUpdated(_changedProperties: Map<string | number | symbol, unknown>) {
41+
super.firstUpdated(_changedProperties);
4142
if (!this.label) {
4243
console.warn(this.tagName + ' needs a `label`', this);
4344
}

0 commit comments

Comments
 (0)