Skip to content

Commit

Permalink
Temporarily disable the use of the Lightbox class
Browse files Browse the repository at this point in the history
  • Loading branch information
Swanand01 committed May 30, 2024
1 parent 4e8aea7 commit 8054547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stories-lightbox/src/web-stories-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default function initializeWebStoryLightbox() {
if ('undefined' !== typeof webStoryBlocks) {
Array.from(webStoryBlocks).forEach((webStoryBlock) => {

Check failure on line 167 in packages/stories-lightbox/src/web-stories-lightbox.js

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

packages/stories-lightbox/src/web-stories-lightbox.js#L167

[no-unused-vars] 'webStoryBlock' is defined but never used.
/* eslint-disable-next-line no-new -- we do not store the object as no further computation required. */

Check failure on line 168 in packages/stories-lightbox/src/web-stories-lightbox.js

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

packages/stories-lightbox/src/web-stories-lightbox.js#L168

[@eslint-community/eslint-comments/no-unused-disable] 'no-new' rule is disabled but never reported.
new Lightbox(webStoryBlock);
// new Lightbox(webStoryBlock);
});
}
}

0 comments on commit 8054547

Please sign in to comment.