From 35dbe1bfe927c5058555c5f2ca7babb3755a8723 Mon Sep 17 00:00:00 2001 From: Jaisal Patel <70134418+GhostOf0days@users.noreply.github.com> Date: Tue, 14 May 2024 03:47:56 +0900 Subject: [PATCH] fixed lint errors (#493) * fixed lint errors * add more skeleton cards --- src/pages/ListPage.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/ListPage.tsx b/src/pages/ListPage.tsx index e62f2ab..f6aa808 100644 --- a/src/pages/ListPage.tsx +++ b/src/pages/ListPage.tsx @@ -176,9 +176,13 @@ function ListPage({ // Display skeleton cards while loading return ( - {Array.from({ length: 36 }).map((_, index) => ( - - ))} + {/* TODO: find a better solution */} + {Array(36) + .fill(null) + .map((_, index) => index) + .map((v) => ( + + ))} ); }