From 9efbce6d34d32943fb685bacbba47a53258ed86e Mon Sep 17 00:00:00 2001 From: 7w1 Date: Wed, 18 Mar 2026 16:21:30 -0500 Subject: [PATCH] make linter happy --- src/app/components/PaginationPlaceholders.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/components/PaginationPlaceholders.tsx b/src/app/components/PaginationPlaceholders.tsx index c8221cfeb..57eb0f5dc 100644 --- a/src/app/components/PaginationPlaceholders.tsx +++ b/src/app/components/PaginationPlaceholders.tsx @@ -41,13 +41,14 @@ export function PaginationLoader({ if (isEmpty) { const count = isCompact ? 5 : 3; const anchorIndex = direction === 'backward' ? count - 1 : 0; + const skeletonKeys = Array.from({ length: count }, (_, idx) => `skeleton-${direction}-${idx}`); return ( <> - {[...Array(count)].map((_, i) => { + {skeletonKeys.map((skeletonKey, i) => { const attachRef = i === anchorIndex ? observerRef : undefined; return ( - + {isCompact ? : } );