Commit 6bd2fb1d by jaymehta

.

1 parent 84a7c51d
......@@ -14,7 +14,6 @@ const VendorListing = () => {
// Hooks
const dispatch = useDispatch();
const router = useRouter();
const array = [1, 2, 3, 4, 5, 6, 7, 8, 9];
// useState
const [session, setSession] = useState();
const [loading, setLoading] = useState(true);
......
......@@ -27,6 +27,8 @@ const GuestReviews = ({ activityById }) => {
setRating(newRating);
};
console.log("newRating", rating);
return (
<>
<section className="guest-reviews-session">
......@@ -140,8 +142,8 @@ const GuestReviews = ({ activityById }) => {
<label className=" mb-3 ">Rating: </label>{" "}
<StarRatings
className="col-3 mx-2"
rating={rating}
starRatedColor="#ffe20" // Set the rated color to yellow
rating={3}
starRatedColor="#000" // Set the rated color to yellow
starHoverColor="#ffe20" // Set the hover color to yellow
changeRating={handleRatingChange}
numberOfStars={5}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!