File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/app/[locale]/(main)/(container)/products/[...params]/components Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { useAppContext } from '@/hooks/useAppContext';
44import { ExpandLess , ExpandMore } from '@mui/icons-material' ;
55import { Box , IconButton , Stack , useTheme } from '@mui/material' ;
66import { FC , useCallback , useRef , useState } from 'react' ;
7- import { Navigation , Pagination } from 'swiper/modules' ;
7+ import { Pagination } from 'swiper/modules' ;
88import { Swiper , SwiperSlide } from 'swiper/react' ;
99import { Product } from '../../types/common' ;
1010import GalleryItem from './GalleryItem' ;
@@ -121,9 +121,6 @@ const ProductGallery: FC<ProductGalleryProps> = ({
121121 ref = { sliderRef }
122122 dir = { theme . direction }
123123 direction = "vertical"
124- navigation = { {
125- enabled : true ,
126- } }
127124 breakpoints = { {
128125 [ theme . breakpoints . values . md ] : {
129126 slidesPerView : 4 ,
@@ -134,7 +131,6 @@ const ProductGallery: FC<ProductGalleryProps> = ({
134131 width : 72 ,
135132 } }
136133 spaceBetween = { theme . spacing ( 2 ) }
137- modules = { [ Navigation ] }
138134 >
139135 { _galleryImages ?. map ( ( item , index ) => {
140136 const handleClickOnItem = ( ) => {
You can’t perform that action at this time.
0 commit comments