Merge pull request #8780 from goenning/go/fix-missing-react-key

fix: add missing react key
This commit is contained in:
Patrik Oldsberg
2022-01-06 15:45:11 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-insights': patch
---
fix React warning because of missing `key` prop
@@ -41,7 +41,7 @@ export const BooleanCheck = ({ checkResult }: Prop) => {
return (
<List>
{checkResult.map((check, index) => (
<ListItem>
<ListItem key={check.check.id}>
<ListItemText
key={index}
primary={check.check.name}