Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(components): fixed typo in post-accordion-item #4391

Merged
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.
schaertim marked this conversation as resolved.
Show resolved Hide resolved
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
Loading