Skip to content

Commit

Permalink
fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rgravitvl committed Dec 17, 2024
1 parent b92f23c commit 9aaf8bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/importer/transformers/cardList.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const URLS_TO_BLOCK_MAP = [
const createCardList = (main, document) => {
const url = document.querySelector('[property="og:url"]')?.content;
if (url) {
// eslint-disable-next-line max-len
const blockName = URLS_TO_BLOCK_MAP.find((item) => url.endsWith(item.url) || url.includes(item.url))?.blockName;
if (blockName) {
const block = [[blockName], ['']];
Expand Down

0 comments on commit 9aaf8bd

Please sign in to comment.