From 52e2f1793f9e75da9eabe779d61e0391a6ee4dbf Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 09 五月 2024 10:16:14 +0800
Subject: [PATCH] #

---
 src/core/warehouse.jsx |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/core/warehouse.jsx b/src/core/warehouse.jsx
index b23b8b0..8f09196 100644
--- a/src/core/warehouse.jsx
+++ b/src/core/warehouse.jsx
@@ -46,7 +46,7 @@
         }, INTERVAL_TIME * 1.1);
 
         return () => {
-            // clearInterval(timer);
+            clearInterval(timer);
         }
     }, [])
 
@@ -60,10 +60,6 @@
 
     const shelfEl = useMemo(() => {
         return shelfData.map((data, index) => <Shelf key={index} {...data} />)
-    }, []);
-
-    const shelfEl1 = useMemo(() => {
-        return shelfData.slice(0, 1).map((data, index) => <Shelf key={index} {...data} />)
     }, []);
 
     const boxEl = useMemo(() => {

--
Gitblit v1.9.1