diff --git a/src/features/product/ui/Product.tsx b/src/features/product/ui/Product.tsx index 9c06bea..95d3411 100644 --- a/src/features/product/ui/Product.tsx +++ b/src/features/product/ui/Product.tsx @@ -20,7 +20,6 @@ import { ProductCard } from '@/widgets/categories/ui/product-card'; import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'; import { AxiosError } from 'axios'; import { - Banknote, ChevronLeft, ChevronRight, Heart, @@ -288,17 +287,11 @@ const ProductDetail = () => {
{data?.short_name}
{/* IMPROVED UPDATED_AT WARNING */} - {data?.updated_at && ( -- ⚠️ - {t("Diqqat! Mahsulot narxi o'zgargan bo'lishi mumkin")} -
-- {t("So'nggi yangilanish:")}{' '} - - {formatDate.format(data.updated_at, 'DD-MM-YYYY')} - + {data?.updated_at && data.payment_type === 'cash' && ( +
+ {t("Narxi o'zgargan bo'lishi mumkin")} • {t('Yangilangan')}:{' '} + {formatDate.format(data.updated_at, 'DD-MM-YYYY')}