From bb9a2f538d2bcfc1493f6eae42ea92f2dc53860d Mon Sep 17 00:00:00 2001 From: ItzCrazyKns Date: Tue, 30 Apr 2024 14:26:17 +0530 Subject: [PATCH] feat(image-search): fix bugs --- ui/components/SearchImages.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/components/SearchImages.tsx b/ui/components/SearchImages.tsx index 0ab5076..137571c 100644 --- a/ui/components/SearchImages.tsx +++ b/ui/components/SearchImages.tsx @@ -66,7 +66,7 @@ const SearchImages = ({ )} {loading && ( -
+
{[...Array(4)].map((_, i) => (

- View {images.slice(0, 2).length} more + View {images.length - 3} more

)}