File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
frontend/src/components/skeletons Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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" >
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments