diff --git a/src/app/product/components/ShopInformation.tsx b/src/app/product/components/ShopInformation.tsx index 9beb8e8..6ec2426 100644 --- a/src/app/product/components/ShopInformation.tsx +++ b/src/app/product/components/ShopInformation.tsx @@ -39,7 +39,7 @@ const ShopInformation = ({ product }: ShopInformationProps) => { return (
-
+ {/*
فروشنده
@@ -63,7 +63,7 @@ const ShopInformation = ({ product }: ShopInformationProps) => {
عملکرد خیلی خوب
- + */}
{
{warranty.duration}
-
+ {/*
ارسال از {shop.shopName} حداکثر پس از {postingTime} روز کاری
-
+
*/}
diff --git a/src/app/product/components/Specifications.tsx b/src/app/product/components/Specifications.tsx index 32d0d2d..90df740 100644 --- a/src/app/product/components/Specifications.tsx +++ b/src/app/product/components/Specifications.tsx @@ -8,6 +8,7 @@ interface SpecificationsProps { } const Specifications: FC = ({ product }) => { + if (product.specifications.length === 0) return null return (