From 3bb02a2ba02a898487cc878ec551df9cc0c84dd8 Mon Sep 17 00:00:00 2001 From: mahdi Date: Wed, 5 Jan 2022 15:02:13 +0330 Subject: [PATCH] update --- src/components/productDesign/ProductDesign.js | 2 +- src/components/starRating/StarRating.js | 12 ++++++------ src/components/vodProductDesign/VodProductDesign.js | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/productDesign/ProductDesign.js b/src/components/productDesign/ProductDesign.js index 89ac7f4..6313cc5 100644 --- a/src/components/productDesign/ProductDesign.js +++ b/src/components/productDesign/ProductDesign.js @@ -161,7 +161,7 @@ const ProductDesign = ({

نسخه چاپی علموم تجربه هفتم

diff --git a/src/components/starRating/StarRating.js b/src/components/starRating/StarRating.js index fd1656f..9e69752 100644 --- a/src/components/starRating/StarRating.js +++ b/src/components/starRating/StarRating.js @@ -2,8 +2,8 @@ import React, { useState } from "react"; import "./StarRating.scss"; const StarRating = () => { - const [rating, setRating] = useState(0); - const [hover, setHover] = useState(0); + const [rating, setRating] = useState(5); + // const [hover, setHover] = useState(5); return (
{[...Array(5)].map((star, index) => { @@ -12,12 +12,12 @@ const StarRating = () => { ); })} diff --git a/src/components/vodProductDesign/VodProductDesign.js b/src/components/vodProductDesign/VodProductDesign.js index 0c07ad1..16d66ed 100644 --- a/src/components/vodProductDesign/VodProductDesign.js +++ b/src/components/vodProductDesign/VodProductDesign.js @@ -145,7 +145,7 @@ const VodProductDesign = ({ className={`flex ${productTitleCategoryHolder} ${productTitleCategoryHolderAlignment} justify-between `} >

نسخه چاپی علموم تجربه هفتم