Skip to content

Commit

Permalink
fix(ui/calendar): use correct firstUpdated type signature (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
riovir authored Oct 14, 2024
1 parent 27af6be commit 5530eef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/perfect-jeans-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lion/ui": patch
---

fix(ui/calendar): use correct firstUpdated type signature
4 changes: 3 additions & 1 deletion packages/ui/components/calendar/src/LionCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5530eef

Please sign in to comment.