We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b3eba commit efe1d59Copy full SHA for efe1d59
frontend/src/components/skeletons/Card.tsx
@@ -57,9 +57,10 @@ const CardSkeleton: React.FC<CardSkeletonProps> = ({
57
<div className="flex flex-col justify-start gap-2">
58
{showContributors && (
59
<div className="mt-3 flex w-full flex-wrap items-center gap-2">
60
+ {/* # NOSONAR As safe to use index as key - static skeleton items with fixed length */}
61
{[...Array(NUM_CONTRIBUTORS)].map((_, i) => (
62
<Skeleton
- key={`card-contributor-skeleton-${i}`}
63
+ key={i}
64
className="border-background h-8 w-8 rounded-full border-2"
65
/>
66
))}
0 commit comments