Skip to content

Commit

Permalink
fix: add missing key to resource row (#1874)
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher committed May 27, 2022
1 parent 8222bdc commit dd1484e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/components/Resources/Resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Resources: React.FC<ResourcesProps> = ({ resources, getResourcesErr
}
if (!agent) {
return (
<TableRow>
<TableRow key={`${resource.id}-${agentIndex}`}>
<TableCell className={styles.resourceNameCell}>
{resource.name}
<span className={styles.resourceType}>{resource.type}</span>
Expand Down

0 comments on commit dd1484e

Please sign in to comment.