From 7ade60a7555e7608eeb0b475dbc69cab1f5d37b1 Mon Sep 17 00:00:00 2001 From: Aditya-132 Date: Wed, 29 Jul 2026 12:58:23 +0530 Subject: [PATCH] fix: add key prop to mapped meeting dropdown options getDropdownOption rendered DropDownOption elements from .map() without a key, producing React's missing-key warning and forcing index-based reconciliation for the meeting dropdown list. Add a key to each element. Signed-off-by: Aditya-132 --- src/components/layout/CommunityMeetingsCardGrid/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/CommunityMeetingsCardGrid/index.tsx b/src/components/layout/CommunityMeetingsCardGrid/index.tsx index 31615cf0c2..6135d178aa 100644 --- a/src/components/layout/CommunityMeetingsCardGrid/index.tsx +++ b/src/components/layout/CommunityMeetingsCardGrid/index.tsx @@ -155,7 +155,7 @@ function CommunityMeetingsCardGrid({ cards }) { } function getDropdownOption(options: DropdownOptionProps[]) { - return options.map(option => ); + return options.map((option, index) => ); } populateMeetings();