Skip to content

Commit

Permalink
chore: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
duynguyen committed Dec 8, 2023
1 parent df46c05 commit 1fe4dc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/importer/transformers/columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ const createAllColumns = (allColumns, document, noOfColumn) => {
});
}
} else if (element.className === 'script') {
const featureImage = template.content.querySelector('div.featureimage');
const featureImageElem = template.content.querySelector('div.featureimage');

if (featureImage) {
row.push(featureImage);
if (featureImageElem) {
row.push(featureImageElem);
}
} else if (element.className !== 'articlecard') {
render[element.className](template, row, document);
Expand Down

0 comments on commit 1fe4dc4

Please sign in to comment.