Skip to content

Commit 9bfaf84

Browse files
committed
Use contact as key
1 parent c8b49d3 commit 9bfaf84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/home/HomePage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ function PageBody() {
8585
<div className="flex flex-col gap-1 md:col-span-2">
8686
<span className="text-xs text-muted-foreground uppercase tracking-wide font-medium">Contact</span>
8787
<div className="flex flex-wrap gap-2">
88-
{mintData.contact.map((contact, index) => (
89-
<span key={index} className="text-sm bg-muted px-2 py-1 rounded">
88+
{mintData.contact.map((contact) => (
89+
<span key={contact} className="text-sm bg-muted px-2 py-1 rounded">
9090
{contact}
9191
</span>
9292
))}

0 commit comments

Comments
 (0)