Skip to content

Commit

Permalink
fix: fix ratings and reviews title
Browse files Browse the repository at this point in the history
Поправил заголовок в компоненте Ratings And Reviews Widget

closes #286
  • Loading branch information
kavabunga committed Jan 14, 2024
1 parent 8d18db6 commit 9da1134
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ const RatingsAndReviewsWidget: React.FC<IRatingsAndReviewsWidget> = ({ productId
return (
(hasOrderedThis || reviews) && (
<section className={styles.section} id="ratings-and-reviews">
<h2 className={styles.title}>Отзывы</h2>
<h2 className={styles.title}>
{reviewsWithText ? 'Отзывы' : 'У этого товара еще нет отзывов'}
</h2>
<div className={styles.grid}>
{hasOrderedThis && (
<div className={styles.form}>
Expand Down

0 comments on commit 9da1134

Please sign in to comment.