Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #517 from WebDevStudios/hotfix/image-gallery
Browse files Browse the repository at this point in the history
Fix broken image gallery images
  • Loading branch information
Greg Rickaby authored Jun 15, 2021
2 parents d2710e0 + 344f894 commit 0dc1e20
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/molecules/ImageGallery/ImageGallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ export default function ImageGallery({
<div className={cn(styles.wrap, styles[`columns-${columns}`])}>
{images.map((image, index) => {
return (
<DisplayImage
className={styles.imageWrap}
key={index}
alt={image.alt}
id={image.id}
imageMeta={{mediaItemUrl: image.url, altText: image.alt}}
nextImageFill={true}
/>
<div key={index} className={styles.imageWrap}>
<DisplayImage
alt={image.alt}
id={image.id}
url={image.url}
nextImageFill={true}
/>
</div>
)
})}
</div>
Expand Down

1 comment on commit 0dc1e20

@vercel
Copy link

@vercel vercel bot commented on 0dc1e20 Jun 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.