fix(ui/calendar): use correct firstUpdated type signature (#2379)
This commit is contained in:
parent
27af6be0db
commit
5530eefb88
2 changed files with 8 additions and 1 deletions
5
.changeset/perfect-jeans-search.md
Normal file
5
.changeset/perfect-jeans-search.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@lion/ui": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(ui/calendar): use correct firstUpdated type signature
|
||||||
|
|
@ -300,7 +300,9 @@ export class LionCalendar extends LocalizeMixin(LitElement) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
firstUpdated() {
|
/** @param {import('lit').PropertyValues } changedProperties */
|
||||||
|
firstUpdated(changedProperties) {
|
||||||
|
super.firstUpdated(changedProperties);
|
||||||
this.__calculateInitialCentralDate();
|
this.__calculateInitialCentralDate();
|
||||||
|
|
||||||
// setup data for initial render
|
// setup data for initial render
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue