From 4460df50b95e53cf04de42f1289b4af81b026d49 Mon Sep 17 00:00:00 2001 From: darkicewolf50 Date: Sat, 3 May 2025 16:35:09 -0600 Subject: [PATCH] fix(home, slideshow): better sytling according to eslint --- src/Gallery/Slideshow.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Gallery/Slideshow.jsx b/src/Gallery/Slideshow.jsx index 6d5b18e..c9453fc 100644 --- a/src/Gallery/Slideshow.jsx +++ b/src/Gallery/Slideshow.jsx @@ -11,6 +11,7 @@ export default function Slideshow() { var slideIndex = 1; useEffect(() => { showSlides(slideIndex); + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const plusSlides = (n) => { @@ -45,16 +46,16 @@ export default function Slideshow() { /> ); })} - plusSlides(-1)}> ❮ - - +

plusSlides(1)}> ❯ - +

); }