Skip to content

sonar: MAJOR — Remove Array index from keys (4 instances) #78

Closed

Description

@BillyOutlast

SonarCloud Finding — S6479

4 instances of using array index as React key, which causes rendering issues on list changes.

File Line
sites/promo/src/components/comparison.tsx 281, 310
sites/promo/src/components/sponsors.tsx 245, 262

Fix

Use stable unique identifiers instead of array indices.

Activity

  1. BillyOutlast commented on Jul 26, 2026

    @BillyOutlast
    OwnerAuthor

    Closed by #91. Fixed 1 of 4 instances:

    • ✅ sites/promo/src/components/comparison.tsx:281 (changed to tier.slug)

    Remaining:

    • sites/promo/src/components/comparison.tsx:310
    • sites/promo/src/components/sponsors.tsx:245,262
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions