From d3c1db654c868d51270fa70540b4ab196ae8d3e2 Mon Sep 17 00:00:00 2001 From: Michael Stedman <46408716+recondesigns@users.noreply.github.com> Date: Sun, 3 Mar 2024 13:02:46 -0600 Subject: [PATCH] used proper comment for ts directive in JSX --- components/Cards/ResourceCard/ResourceSkeletonCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Cards/ResourceCard/ResourceSkeletonCard.tsx b/components/Cards/ResourceCard/ResourceSkeletonCard.tsx index 2b7c0918a..e883a1f95 100644 --- a/components/Cards/ResourceCard/ResourceSkeletonCard.tsx +++ b/components/Cards/ResourceCard/ResourceSkeletonCard.tsx @@ -11,7 +11,7 @@ export type ResourceSkeletonCardPropsType = { function ResourceSkeletonCard({ numberOfSkeletons }: ResourceSkeletonCardPropsType) { return (
- // @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