Skip to content

Commit

Permalink
Add key
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardozgz committed Dec 22, 2024
2 parents 7157e08 + 9b0fb29 commit 6682a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/website/src/app/status/BotStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function BotStatus({
{stats
.sort((a, b) => a.childId.localeCompare(b.childId))
.map((stats) => (
<ChildStats {...stats} />
<ChildStats key={stats.childId} {...stats} />
))}

{!!unreportedShards.length && !!totalShards && (
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/status/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function StatusPage() {
return (
<div className="flex flex-col items-center gap-14 p-[18px]">
{status.data.map((status) => (
<BotStatus {...status} />
<BotStatus key={status.id} {...status} />
))}
</div>
);
Expand Down

0 comments on commit 6682a7f

Please sign in to comment.