From 5cf32a2cb51b89dc14fa6948ee0f2e2a8feaf8e7 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Mon, 14 Oct 2024 19:21:30 -0700 Subject: [PATCH] Add title for rating --- apps/web/src/components/rating.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/components/rating.tsx b/apps/web/src/components/rating.tsx index 5c05d764a..05815a794 100644 --- a/apps/web/src/components/rating.tsx +++ b/apps/web/src/components/rating.tsx @@ -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 [