Merge pull request #8780 from goenning/go/fix-missing-react-key
fix: add missing react key
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user