Skip to content

Comments

fix: resolve duplicate key warning in Twitter testimonials#314

Open
SadhanaShree25 wants to merge 1 commit intokeploy:mainfrom
SadhanaShree25:fix-duplicate-key
Open

fix: resolve duplicate key warning in Twitter testimonials#314
SadhanaShree25 wants to merge 1 commit intokeploy:mainfrom
SadhanaShree25:fix-duplicate-key

Conversation

@SadhanaShree25
Copy link

What was fixed

  • Resolved React warning: "Encountered two children with the same key"
  • Ensured unique keys for testimonial items in TwitterTestimonials component

Why this change

  • Prevents potential rendering issues caused by duplicate keys
  • Improves React reconciliation and overall code quality

Verification

  • Verified in browser console that the duplicate key warning no longer appears
  • Tested locally using npm run dev

Signed-off-by: SadhanaShree25 <180205437+SadhanaShree25@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant