Skip to content

Commit

Permalink
Fix for Eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jagabomb committed Sep 6, 2024
1 parent a005915 commit 8aa0dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/common/Table/Table.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ describe('Table component', () => {
screen
.getByRole('table')
.querySelector('th')
.classList.forEach((className) =>
className.match('px-') ? (pxClass = className) : ''
.classList.forEach(
(className) => className.match('px-') && (pxClass = className)

Check failure on line 133 in assets/js/common/Table/Table.test.jsx

View workflow job for this annotation

GitHub Actions / Static Code Analysis

Arrow function should not return assignment
);

screen
Expand Down

0 comments on commit 8aa0dfb

Please sign in to comment.