Fix warning about missing key in looped component
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
@@ -176,6 +176,7 @@ export const ScaffolderPageContents = () => {
|
||||
matchingEntities?.length > 0 &&
|
||||
matchingEntities.map(template => (
|
||||
<TemplateCard
|
||||
key={i}
|
||||
template={template}
|
||||
deprecated={template.apiVersion === 'backstage.io/v1alpha1'}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user