From 10e859bd28e7641cac9e5e624ee9357b7c370bb2 Mon Sep 17 00:00:00 2001
From: Li1304553726 <1304553726@qq.com>
Date: Wed, 19 Nov 2025 16:08:37 +0800
Subject: [PATCH] 1
---
app/components/Carousel.tsx | 19 +++++++++----------
app/components/news/body/FireNews/fhyw.tsx | 4 ++--
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/app/components/Carousel.tsx b/app/components/Carousel.tsx
index 2a6d040..ee00eb0 100755
--- a/app/components/Carousel.tsx
+++ b/app/components/Carousel.tsx
@@ -25,7 +25,6 @@ export function CarouselDemo() {
const [current, setCurrent] = React.useState(0);
const [count, setCount] = React.useState(0);
const totalSlides = imageUrls.length;
-
React.useEffect(() => {
if (!api) return;
@@ -54,18 +53,18 @@ export function CarouselDemo() {
{Array.from({ length: totalSlides }).map((_, index) => (