Skip to content

Commit

Permalink
Update cards.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sn8083 authored Feb 28, 2025
1 parent 32dca42 commit 7bb6457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/cards/cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default function decorate(block) {
ul.append(li);
});
ul.querySelectorAll('picture > img').forEach((img) => img.closest('picture').replaceWith(createOptimizedPicture(img.src, img.alt, false, [{ width: '750' }])));
block.textContent = '';
// block.textContent = '';

Check failure on line 16 in blocks/cards/cards.js

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 2 spaces but found 1
block.append(ul);
}

0 comments on commit 7bb6457

Please sign in to comment.