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 authored and jsapro committed Jan 15, 2024
1 parent d9c6349 commit 9b52d57
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 9b52d57

Please sign in to comment.