fix: remove all linter errors
This commit is contained in:
@@ -10,9 +10,9 @@ export const Star = (
|
||||
>
|
||||
{Array.from({ length: max }).map((_, i) => {
|
||||
if ((i + 1) <= rating) {
|
||||
return <IconStarFilled class="w-4 h-4" />;
|
||||
return <IconStarFilled key={i} class="w-4 h-4" />;
|
||||
}
|
||||
return <IconStar class="w-4 h-4" />;
|
||||
return <IconStar key={i} class="w-4 h-4" />;
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user