From 470a18779de80c1d89498a7bfe021979f2cdf2ac Mon Sep 17 00:00:00 2001 From: dangthang1903 Date: Wed, 21 Aug 2024 16:18:40 +0700 Subject: [PATCH] fix bug css product media --- app/components/product-form/product-media.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/components/product-form/product-media.tsx b/app/components/product-form/product-media.tsx index 65ffb3d..c82243a 100644 --- a/app/components/product-form/product-media.tsx +++ b/app/components/product-form/product-media.tsx @@ -4,6 +4,9 @@ import { useState } from "react"; import type { MediaFragment } from "storefrontapi.generated"; import { FreeMode, Pagination, Thumbs } from "swiper/modules"; import { Swiper, type SwiperClass, SwiperSlide } from "swiper/react"; +import 'swiper/css/free-mode'; +import 'swiper/css/navigation'; +import 'swiper/css/thumbs'; interface ProductMediaProps { selectedVariant: any;