From a0be2366eee02f62dd8fbd3a6ec96953d4c469ba Mon Sep 17 00:00:00 2001 From: Jake Albaugh Date: Fri, 14 Jun 2024 18:21:25 -0500 Subject: [PATCH] fixes keys on stars in rating card --- src/compositions/Cards/Cards.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/compositions/Cards/Cards.tsx b/src/compositions/Cards/Cards.tsx index ac2074c..0f67a7d 100644 --- a/src/compositions/Cards/Cards.tsx +++ b/src/compositions/Cards/Cards.tsx @@ -217,7 +217,11 @@ export function ReviewCard({ }: ReviewCardProps) { return ( - {new Array(stars).fill()} + + {new Array(stars).fill(0).map((_, i) => ( + + ))} + {title} {body}