From edf3cad09237ab9a89716fb3b22926d5d26e5f49 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Mon, 22 Jan 2024 11:57:38 +0400 Subject: [PATCH] fix: add keys to the features cell component (#5978) This PR adds the `key` property to the features cell component where it renders lists of flags. This fixes a few rendering errors we've been getting in the console. --- .../ProjectChangeRequests/ChangeRequestsTabs/FeaturesCell.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/component/changeRequest/ProjectChangeRequests/ChangeRequestsTabs/FeaturesCell.tsx b/frontend/src/component/changeRequest/ProjectChangeRequests/ChangeRequestsTabs/FeaturesCell.tsx index 2ee9a6cfbc9..522e0f587ae 100644 --- a/frontend/src/component/changeRequest/ProjectChangeRequests/ChangeRequestsTabs/FeaturesCell.tsx +++ b/frontend/src/component/changeRequest/ProjectChangeRequests/ChangeRequestsTabs/FeaturesCell.tsx @@ -52,6 +52,7 @@ export const FeaturesCell: VFC = ({ value, project }) => { condition={featureNames?.length < 3} show={featureNames?.map((featureName: string) => ( @@ -67,6 +68,7 @@ export const FeaturesCell: VFC = ({ value, project }) => { {featureNames?.map((featureName: string) => (