Skip to content

Commit 79a9a2e

Browse files
committed
fix alt order
1 parent 5530362 commit 79a9a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/react/Gallery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const Gallery: FC<Props> = ({ images }) => {
113113
<img
114114
{...image.thumbnail}
115115
onLoad={() => handleLoad(image.thumbnail.src)}
116-
alt={loadedStates[image.thumbnail.src] ? '' : 'Gallery image'}
116+
alt={loadedStates[image.thumbnail.src] ? 'Gallery image' : ''}
117117
className={cn(
118118
'w-full transition-all duration-[2s] ease-in-out',
119119
loadedStates[image.thumbnail.src]

0 commit comments

Comments
 (0)