Skip to content

Commit

Permalink
fix(ld-accordion-panel): resize observer may not be initialized yet o…
Browse files Browse the repository at this point in the history
…n disconnect
  • Loading branch information
borisdiakur committed Nov 1, 2022
1 parent cf1ad5f commit cb03639
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class LdAccordionPanel {
}

disconnectedCallback() {
this.resizeObserver.unobserve(this.contentRef)
this.resizeObserver?.unobserve(this.contentRef)
}

render() {
Expand Down

1 comment on commit cb03639

@vercel
Copy link

@vercel vercel bot commented on cb03639 Nov 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

liquid – ./

liquid-oxygen.vercel.app
liquid-uxsd.vercel.app
liquid-git-main-uxsd.vercel.app

Please sign in to comment.