Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lansami committed Oct 2, 2023
1 parent 798f540 commit ad566a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions blocks/product-comparison-table/product-comparison-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ function buildTableHeader(block) {
}

function setBuyButtonsToPrimary(columnHeaders) {
columnHeaders.forEach((columnHeader) =>
columnHeaders.forEach((columnHeader) => {
columnHeader.querySelectorAll('.button-container')
.forEach((button) => button.classList.add('red')));
.forEach((button) => button.classList.add('red'))

Check failure on line 177 in blocks/product-comparison-table/product-comparison-table.js

View workflow job for this annotation

GitHub Actions / linting

Missing semicolon
});
}

function setActiveColumn(block) {
Expand Down

0 comments on commit ad566a2

Please sign in to comment.