From 86302337ceba565b3b191d771b3ee3f8070076c0 Mon Sep 17 00:00:00 2001 From: BrickheadJohnny Date: Tue, 26 Nov 2024 10:07:43 +0100 Subject: [PATCH] fix(InfiniteScrollGuilds): add unique keys --- .../(dashboard)/explorer/components/InfiniteScrollGuilds.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/(dashboard)/explorer/components/InfiniteScrollGuilds.tsx b/src/app/(dashboard)/explorer/components/InfiniteScrollGuilds.tsx index a169b7ef4f..6c565bb219 100644 --- a/src/app/(dashboard)/explorer/components/InfiniteScrollGuilds.tsx +++ b/src/app/(dashboard)/explorer/components/InfiniteScrollGuilds.tsx @@ -58,7 +58,8 @@ export const InfiniteScrollGuilds = () => {
{isLoading - ? Array(PAGE_SIZE).fill() + ? // biome-ignore lint: it's safe to use index as key in this case + [...Array(PAGE_SIZE)].map((_, i) => ) : guilds.map((guild, _i) => ( ))}