From 9b52d57a482028f899d29b1ce1743b9dd7c76002 Mon Sep 17 00:00:00 2001 From: kavabunga Date: Mon, 15 Jan 2024 00:42:04 +0200 Subject: [PATCH] fix: fix ratings and reviews title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Поправил заголовок в компоненте Ratings And Reviews Widget closes #286 --- .../ratings-and-reviews-widget/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/ratings-and-reviews-components/ratings-and-reviews-widget/index.tsx b/src/components/ratings-and-reviews-components/ratings-and-reviews-widget/index.tsx index aaab677c..55a85201 100644 --- a/src/components/ratings-and-reviews-components/ratings-and-reviews-widget/index.tsx +++ b/src/components/ratings-and-reviews-components/ratings-and-reviews-widget/index.tsx @@ -73,7 +73,9 @@ const RatingsAndReviewsWidget: React.FC = ({ productId return ( (hasOrderedThis || reviews) && (
-

Отзывы

+

+ {reviewsWithText ? 'Отзывы' : 'У этого товара еще нет отзывов'} +

{hasOrderedThis && (