alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Update ImageEmbed.tsx
author
pdelfan
date
2 months ago
(May 22, 2026, 5:01 PM -0700)
commit
6b6dd0a7
6b6dd0a7bd3234135548127f5b92e8a5bc82ab2f
parent
02b53d61
02b53d61408511a2ed001a0808a5dd4666952d16
-2
1 changed file
Expand all
Collapse all
Unified
Split
src
webapp
features
platforms
bluesky
components
imageEmbed
ImageEmbed.tsx
-2
src/webapp/features/platforms/bluesky/components/imageEmbed/ImageEmbed.tsx
View file
Reviewed
···
14
14
export default function ImageEmbed(props: Props) {
15
15
const { settings } = useUserSettings();
16
16
const [lightboxOpened, setLightboxOpened] = useState(false);
17
17
-
const [initialSlide, setInitialSlide] = useState(0);
18
17
19
18
const lightboxImages = props.images.map((img) => ({
20
19
src: img.fullsize,
···
23
22
24
23
const openLightbox = (e: React.MouseEvent, index: number) => {
25
24
e.stopPropagation();
26
26
-
setInitialSlide(index);
27
25
setLightboxOpened(true);
28
26
};
29
27