Skip to content

Commit

Permalink
fix duplicate alt
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisweb committed Oct 10, 2024
1 parent 74b7ae5 commit 87d4fa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/base/image/AnimatedPicture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ const ImageAnimatedPicture: React.FC<IAnimatedPictureProps> = (props): JSX.Eleme
<picture>
<source srcSet={avifSource} type="image/avif" />
<source srcSet={webpSource} type="image/webp" />
<Image src={webpSource} alt={props.alt} {...rest} />
{/* eslint-disable-next-line jsx-a11y/alt-text */}
<Image src={webpSource} {...rest} />
</picture>
</>
)
Expand Down

0 comments on commit 87d4fa2

Please sign in to comment.