From 8054547eb5834cdc12e1b5d127d141aa8d709162 Mon Sep 17 00:00:00 2001 From: Swanand01 Date: Thu, 30 May 2024 18:29:51 +0530 Subject: [PATCH] Temporarily disable the use of the `Lightbox` class --- packages/stories-lightbox/src/web-stories-lightbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stories-lightbox/src/web-stories-lightbox.js b/packages/stories-lightbox/src/web-stories-lightbox.js index 8265ba727f61..91a3c69bc322 100644 --- a/packages/stories-lightbox/src/web-stories-lightbox.js +++ b/packages/stories-lightbox/src/web-stories-lightbox.js @@ -166,7 +166,7 @@ export default function initializeWebStoryLightbox() { if ('undefined' !== typeof webStoryBlocks) { Array.from(webStoryBlocks).forEach((webStoryBlock) => { /* eslint-disable-next-line no-new -- we do not store the object as no further computation required. */ - new Lightbox(webStoryBlock); + // new Lightbox(webStoryBlock); }); } }