Skip to content

Commit

Permalink
carousel again image error
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-david-welch committed Jul 10, 2024
1 parent afd9d60 commit 253fd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/templates/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Carousel = (props: ImageProps) => {
key={index}
src={image}
alt="Slide"
onError={image}
onError={imageError}
className={`${styles.slides} ${currentIndex === index ? styles.fadeIn : styles.fadeOut}`}
/>
))}
Expand Down

0 comments on commit 253fd5a

Please sign in to comment.