Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan committed May 1, 2024
1 parent 2c6578f commit a8b8363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Lightbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const Lightbox = ({ index, onClose, onDelete, photos, title, description, conten
<ImageView
images={photos.map((photo) => ({ uri: photo }))}
onImageIndexChange={setImageIndex}
imageIndex={imageIndex ?? 0}
imageIndex={initialIndex}
visible={index !== undefined}
swipeToCloseEnabled={false}
onRequestClose={onClose}
Expand Down

0 comments on commit a8b8363

Please sign in to comment.