Skip to content

Commit

Permalink
refactor(Table): [BLA-SCOUT] Refactor the null check
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwapriya committed Jan 30, 2025
1 parent c24f731 commit 8b38c3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class TableRowComponent {
}

disconnectedCallback() {
if (this.observer) {
if (this.observer !== undefined && this.observer !== null) {
this.observer.disconnect();
this.observer = null;
}
Expand Down

0 comments on commit 8b38c3b

Please sign in to comment.