diff --git a/client/src/entities/product/ui/ProductCard.tsx b/client/src/entities/product/ui/ProductCard.tsx index e2d4b90..b320251 100644 --- a/client/src/entities/product/ui/ProductCard.tsx +++ b/client/src/entities/product/ui/ProductCard.tsx @@ -12,6 +12,7 @@ import { Swiper, SwiperSlide } from 'swiper/react' import 'swiper/css' import type { Product } from '@/entities/product/model/types' import { formatPriceRub } from '@/shared/lib/format-price' +import { OptimizedImage } from '@/shared/ui/OptimizedImage' import type { Swiper as SwiperType } from 'swiper/types' type Props = { product: Product; mediaHeight?: number; actions?: ReactNode } @@ -86,21 +87,27 @@ export function ProductCard({ product, mediaHeight = 200, actions }: Props) { {imageUrls.map((url) => ( + > + + ))}