Skip to content

Commit

Permalink
I-41 Fix build error due to warning, it make process.env.CI=true do n…
Browse files Browse the repository at this point in the history
…ot pass the production build
  • Loading branch information
hhpr98 committed Oct 28, 2023
1 parent d3ba813 commit 1268931
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/PlaceGallery/PlaceGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ const PlaceGallery = (): JSX.Element => {
}
};

const defaultImageUrl = "https://www.w3schools.com/howto/img_fjords.jpg";

return (
<div>
<div className="images">
<img src="https://www.w3schools.com/howto/img_fjords.jpg" alt="image" onClick={handleImageClick} />
<img src="https://www.w3schools.com/howto/img_fjords.jpg" alt="image" onClick={handleImageClick} />
<img src="https://www.w3schools.com/howto/img_fjords.jpg" 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} />
</div>
<div id="image-viewer">
<span className="close" onClick={handleCloseImage}>&times;</span>
Expand Down

0 comments on commit 1268931

Please sign in to comment.