From ab90f7bed64fb4bf50265d192a5f16767734f3bf Mon Sep 17 00:00:00 2001 From: love98 Date: Wed, 29 Nov 2023 22:27:49 +0800 Subject: [PATCH] feat: improve CSS in SlideImages --- src/components/SlideImages.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/SlideImages.tsx b/src/components/SlideImages.tsx index d633998..3ddf62f 100644 --- a/src/components/SlideImages.tsx +++ b/src/components/SlideImages.tsx @@ -13,7 +13,7 @@ const SlideImages: React.FC = () => { const [slideImages, setSlideImages] = useState>([]); useEffect(() => { getHomeSlideList().then((res) => { - setSlideImages(res.slides.slice(0, 2)); + setSlideImages(res.slides.slice(0, 3)); }); }, []); @@ -26,7 +26,6 @@ const SlideImages: React.FC = () => { return (