From 3abb4fb7d9c1f4aa2296a3be86468e431e285942 Mon Sep 17 00:00:00 2001 From: Clinton Date: Mon, 21 Jun 2021 14:12:54 -0700 Subject: [PATCH] fix: fix lint error --- src/components/ImageSlider/ImageSlider.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ImageSlider/ImageSlider.js b/src/components/ImageSlider/ImageSlider.js index 0dadaf37c..f6d9bc675 100644 --- a/src/components/ImageSlider/ImageSlider.js +++ b/src/components/ImageSlider/ImageSlider.js @@ -62,7 +62,11 @@ const ImageSlider = ({ images, height }) => { )} 0 ? images[selectedImageIndex] : ''} + href={ + images && images.length > 0 + ? images[selectedImageIndex] + : noImagePlaceholder + } target="_blank" rel="noreferrer" css={css`