From 6b294087e6717d24dac0fa379790b220630439a4 Mon Sep 17 00:00:00 2001 From: bluecloud <96812901+pitb2022@users.noreply.github.com> Date: Fri, 23 Aug 2024 18:19:25 +0800 Subject: [PATCH] feat(MomentDigest): disable lightbox loop --- src/components/MomentDigest/Assets/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/MomentDigest/Assets/index.tsx b/src/components/MomentDigest/Assets/index.tsx index 8217c264f7..40a63c1d24 100644 --- a/src/components/MomentDigest/Assets/index.tsx +++ b/src/components/MomentDigest/Assets/index.tsx @@ -97,7 +97,9 @@ const Assets = ({ moment }: { moment: MomentDigestAssetsMomentFragment }) => { data-test-id={TEST_ID.MOMENT_DIGEST_ASSETS} > { const closePhotoswipeListener = () => { document.addEventListener('keyup', (event) => {