Skip to content

Commit 00fbc68

Browse files
committed
updated nosonar comment
1 parent efe1d59 commit 00fbc68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/components/skeletons/ApiKeySkelton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function ApiKeysSkeleton() {
5050
</tr>
5151
</thead>
5252
<tbody>
53-
{/* # NOSONAR As safe to use index as key - static skeleton items with fixed length */}
53+
// NOSONAR As safe to use index as key - static skeleton items with fixed length
5454
{[...Array(totalRows)].map((_, i) => (
5555
<tr key={i} className="border-b-1 border-b-gray-200 dark:border-b-gray-700">
5656
<td className="py-3">

frontend/src/components/skeletons/Card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const CardSkeleton: React.FC<CardSkeletonProps> = ({
3131

3232
{showIcons && (
3333
<div className="flex min-w-[30%] grow flex-row items-center justify-start gap-2 overflow-auto">
34-
{/* # NOSONAR As safe to use index as key - static skeleton items with fixed length */}
34+
// NOSONAR As safe to use index as key - static skeleton items with fixed length
3535
{Array.from({ length: numIcons }).map((_, i) => (
3636
<Skeleton key={i} className="h-8 w-16" />
3737
))}
@@ -57,7 +57,7 @@ const CardSkeleton: React.FC<CardSkeletonProps> = ({
5757
<div className="flex flex-col justify-start gap-2">
5858
{showContributors && (
5959
<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 */}
60+
// NOSONAR As safe to use index as key - static skeleton items with fixed length
6161
{[...Array(NUM_CONTRIBUTORS)].map((_, i) => (
6262
<Skeleton
6363
key={i}

0 commit comments

Comments
 (0)