Skip to content

Commit

Permalink
chore(components): fixed typo in post-accordion-item (#4391)
Browse files Browse the repository at this point in the history
  • Loading branch information
schaertim authored Jan 15, 2025
1 parent c19ce3d commit 0a34542
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/good-pets-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed a typo in the `post-accordion-item` component.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class PostAccordionItem {
}

render() {
const headingLevel = this.host.closest('post-accorddion')?.getAttribute('heading-level');
const headingLevel = this.host.closest('post-accordion')?.getAttribute('heading-level');
const HeadingTag = `h${headingLevel ?? this.headingLevel ?? 2}`;

return (
Expand Down

0 comments on commit 0a34542

Please sign in to comment.