Skip to content

Commit

Permalink
fix: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Jun 21, 2021
1 parent bb88a9e commit 3abb4fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/ImageSlider/ImageSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ const ImageSlider = ({ images, height }) => {
</>
)}
<a
href={images && images.length > 0 ? images[selectedImageIndex] : ''}
href={
images && images.length > 0
? images[selectedImageIndex]
: noImagePlaceholder
}
target="_blank"
rel="noreferrer"
css={css`
Expand Down

0 comments on commit 3abb4fb

Please sign in to comment.