From 07bfb1633d67d137c4e62e2e71a1d1ae14190cc3 Mon Sep 17 00:00:00 2001 From: YuHong Date: Thu, 8 Aug 2024 18:31:06 +0800 Subject: [PATCH] fix: lint --- .../src/views/UniSlideSideBar.tsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx b/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx index f8d5fa06ed2..89626c4bbaf 100644 --- a/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx +++ b/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx @@ -70,7 +70,7 @@ export function UniSlideSideBar() { return () => { subscriber?.unsubscribe(); }; - // eslint-disable-next-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); useEffect(() => { @@ -103,21 +103,21 @@ export function UniSlideSideBar() { return (
-
- {slideList.map((item, index) => ( -
activatePage(item.id)} - > - {index + 1} -
-
- ))} -
-