Skip to content

fix: Use 'name' as key in TopList component #101

@O2sa

Description

@O2sa

The TopList component uses username as a React key, which can lead to inconsistencies if we move away from usernames.

Tasks

  • Open components/top-list.tsx.
  • Find the Card component mapping.
  • Change key={top-${user.username}} to key={top-${user.name}}.
  • Verify UserResult includes the name field.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions