Skip to content

Commit

Permalink
I-41 Make image as "lazy"
Browse files Browse the repository at this point in the history
  • Loading branch information
hhpr98 committed Oct 28, 2023
1 parent 49e3695 commit 12c2738
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/PlaceGallery/PlaceGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ const PlaceGallery = (): JSX.Element => {
return (
<div>
<div className="images">
<img src={defaultImageUrl} alt="image" onClick={handleImageClick} />
<img src={defaultImageUrl} alt="image" onClick={handleImageClick} />
<img src={defaultImageUrl} alt="image" onClick={handleImageClick} />
<img src={defaultImageUrl} alt="image" onClick={handleImageClick} loading="lazy" />
<img src={defaultImageUrl} alt="image" onClick={handleImageClick} loading="lazy" />
<img src={defaultImageUrl} alt="image" onClick={handleImageClick} loading="lazy" />
</div>
<div id="image-viewer">
<span className="close" onClick={handleCloseImage}>&times;</span>
Expand Down

0 comments on commit 12c2738

Please sign in to comment.