From fd8cf9b816e7dde093e3561285c53c2e54d19e62 Mon Sep 17 00:00:00 2001 From: Siddharth Taneja Date: Thu, 9 Feb 2023 03:53:45 +0530 Subject: [PATCH 1/2] check --- src/components/general/Rating.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/general/Rating.js b/src/components/general/Rating.js index b93343c..5bf6693 100644 --- a/src/components/general/Rating.js +++ b/src/components/general/Rating.js @@ -5,9 +5,9 @@ import classNames from 'classnames'; import './Rating.scss'; -function Rating({ rating, maxRating, size = 1.2 }) { +function Rating({ rating, maxRating, size = 1.4 }) { return ( -
+
{new Array(maxRating).fill(0).map((_, index) => { const isActive = rating >= index + 1; return ( From d09912cd61b482ce5ab103c0154afc26c9155355 Mon Sep 17 00:00:00 2001 From: Siddharth Taneja Date: Thu, 9 Feb 2023 03:57:02 +0530 Subject: [PATCH 2/2] check --- src/components/general/Rating.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/general/Rating.js b/src/components/general/Rating.js index 5bf6693..81e352b 100644 --- a/src/components/general/Rating.js +++ b/src/components/general/Rating.js @@ -5,7 +5,7 @@ import classNames from 'classnames'; import './Rating.scss'; -function Rating({ rating, maxRating, size = 1.4 }) { +function Rating({ rating, maxRating, size = 1.6 }) { return (
{new Array(maxRating).fill(0).map((_, index) => {