Skip to content

Commit

Permalink
Fix Eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Aug 4, 2024
1 parent d154e74 commit 5c010eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/classes/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ class Store {
if (this.hasAnimation(element)) {
const classes = element.className;
element.className = '';
// Force layout reflow using element.offsetWidth
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
element.offsetWidth;
element.className = classes;
}
Expand Down

0 comments on commit 5c010eb

Please sign in to comment.