Skip to content

Commit

Permalink
used proper comment for ts directive in JSX
Browse files Browse the repository at this point in the history
  • Loading branch information
recondesigns committed Mar 3, 2024
1 parent 95f4a3f commit d3c1db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Cards/ResourceCard/ResourceSkeletonCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type ResourceSkeletonCardPropsType = {
function ResourceSkeletonCard({ numberOfSkeletons }: ResourceSkeletonCardPropsType) {
return (
<div className={styles.resourcesCardWrapper}>
// @ts-expect-error -- 'skeleton' is declared but its value is never read.ts(6133)
{/** @ts-expect-error */}
{[...Array(numberOfSkeletons)].map((skeleton, index) => (
// eslint-disable-next-line react/no-array-index-key
<div data-testid={SKELETON_CARD} key={index} className={styles.Skeleton}>
Expand Down

0 comments on commit d3c1db6

Please sign in to comment.