From 48580d0fbb4b1106ba0b725b14b7241361011f85 Mon Sep 17 00:00:00 2001 From: goenning Date: Thu, 6 Jan 2022 14:16:51 +0000 Subject: [PATCH] add missing react key Signed-off-by: goenning --- .changeset/warm-moles-battle.md | 5 +++++ .../src/components/BooleanCheck/BooleanCheck.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/warm-moles-battle.md diff --git a/.changeset/warm-moles-battle.md b/.changeset/warm-moles-battle.md new file mode 100644 index 0000000000..3d203ea1d3 --- /dev/null +++ b/.changeset/warm-moles-battle.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-tech-insights': patch +--- + +fix React warning because of missing `key` prop diff --git a/plugins/tech-insights/src/components/BooleanCheck/BooleanCheck.tsx b/plugins/tech-insights/src/components/BooleanCheck/BooleanCheck.tsx index e38e0aa7b3..a37a5ee0b4 100644 --- a/plugins/tech-insights/src/components/BooleanCheck/BooleanCheck.tsx +++ b/plugins/tech-insights/src/components/BooleanCheck/BooleanCheck.tsx @@ -41,7 +41,7 @@ export const BooleanCheck = ({ checkResult }: Prop) => { return ( {checkResult.map((check, index) => ( - +