fix(ui/calendar): use correct firstUpdated type signature (#2379)

This commit is contained in:
Krisztian Horvath 2024-10-14 16:22:36 +02:00 committed by GitHub
parent 27af6be0db
commit 5530eefb88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@lion/ui": patch
---
fix(ui/calendar): use correct firstUpdated type signature

View file

@ -300,7 +300,9 @@ export class LionCalendar extends LocalizeMixin(LitElement) {
}
}
firstUpdated() {
/** @param {import('lit').PropertyValues } changedProperties */
firstUpdated(changedProperties) {
super.firstUpdated(changedProperties);
this.__calculateInitialCentralDate();
// setup data for initial render