Skip to content

Commit

Permalink
Fix error about parse string to number
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMejia77 committed Apr 10, 2024
1 parent ce65b1b commit 15142be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Reviews/ReviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ReviewCard = ({ review }: ReviewCardProps) => {
<div className="flex flex-col justify-center items-center ms:items-start">
<p className="text-lg">{review.user}</p>
<StarRatings
rating={review.rating}
rating={+review.rating}
numberOfStars={5}
starRatedColor="orange"
starDimension="30px"
Expand Down

0 comments on commit 15142be

Please sign in to comment.