Skip to content

Commit

Permalink
Add title for rating
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Oct 15, 2024
1 parent 5e5acc3 commit 5cf32a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/components/rating.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const StaticRating = ({ value, size, className }: Props) => {
size === "small" ? "rating-sm" : "",
className,
)}
title={`Rated ${value} out of 5`}
>
{[5, 4, 3, 2, 1].map((item) => {
return [
Expand Down

0 comments on commit 5cf32a2

Please sign in to comment.