Skip to content

Commit

Permalink
fix: address unique index error
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Dec 3, 2024
1 parent 2a051dc commit cb51eae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/(dashboard)/explorer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ async function YourGuilds() {
function YourGuildsSkeleton() {
return (
<div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
{Array(3).fill(<GuildCardSkeleton />)}
{Array.from({ length: 3 }, (_, i) => (
// biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
<GuildCardSkeleton key={i} />
))}
</div>
);
}

0 comments on commit cb51eae

Please sign in to comment.