From ee62308a1ce53039a623e220275d98ba4eeb9036 Mon Sep 17 00:00:00 2001 From: guofei <1633295391@qq.com> Date: Wed, 20 Nov 2024 21:48:32 +0800 Subject: [PATCH] fix: change issue --- src/app/components/ChannelSwiper.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/ChannelSwiper.tsx b/src/app/components/ChannelSwiper.tsx index e70f8d7..d7b03e4 100644 --- a/src/app/components/ChannelSwiper.tsx +++ b/src/app/components/ChannelSwiper.tsx @@ -21,12 +21,12 @@ const data = [ ]; export default function ChannelSwiper() { - const isMobile = /Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent); - + // const isMobile = /Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent); + // isMobile ? 15 : return ( <>
- + {data.map((item, index) => { return (