This commit is contained in:
Kirill
2026-05-25 16:28:03 +05:00
parent e4012d8133
commit 74fe39829d
4 changed files with 6 additions and 24 deletions
@@ -9,7 +9,6 @@ import Chip from '@mui/material/Chip'
import Stack from '@mui/material/Stack'
import Typography from '@mui/material/Typography'
import { useNavigate } from 'react-router-dom'
import { Autoplay } from 'swiper/modules'
import { Swiper, SwiperSlide } from 'swiper/react'
import 'swiper/css'
import type { Product } from '@/entities/product/model/types'
@@ -84,8 +83,6 @@ const ProductCardInner = ({ product, mediaHeight = 200, actions }: Props) => {
onSwiper={(s) => {
swiperRef.current = s
}}
modules={isMobile ? [Autoplay] : undefined}
autoplay={isMobile ? { delay: 3000, disableOnInteraction: false, pauseOnMouseEnter: true } : undefined}
allowTouchMove={!isMobile}
style={{ width: '100%', height: mediaHeight }}
>