Skip to content

Commit

Permalink
chore(components): fixed typo in post-accordion-item
Browse files Browse the repository at this point in the history
  • Loading branch information
schaertim committed Jan 7, 2025
1 parent 5e1c404 commit c5fe87e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ export class PostAccordionItem {
}

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

return (
Expand Down
22 changes: 2 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5fe87e

Please sign in to comment.