From 1368ea8807c7dafcddc6d2f3de88b6199d146976 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Wed, 26 Nov 2025 10:12:57 +0330 Subject: [PATCH] hidden shop information --- src/app/product/components/ShopInformation.tsx | 8 ++++---- src/app/product/components/Specifications.tsx | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) 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 (