Skip to content

Commit

Permalink
feat(MomentDigest): disable lightbox loop
Browse files Browse the repository at this point in the history
  • Loading branch information
wlliaml committed Aug 23, 2024
1 parent ff0183b commit 6b29408
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MomentDigest/Assets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ const Assets = ({ moment }: { moment: MomentDigestAssetsMomentFragment }) => {
data-test-id={TEST_ID.MOMENT_DIGEST_ASSETS}
>
<Gallery
options={{}}
options={{
loop: false,
}}
onOpen={(photoswipe: PhotoSwipe) => {
const closePhotoswipeListener = () => {
document.addEventListener('keyup', (event) => {
Expand Down

0 comments on commit 6b29408

Please sign in to comment.