Skip to content

Commit 4c60766

Browse files
code-asherkylecarbs
authored andcommitted
fix: add missing key to resource row (#1874)
1 parent 2fe3963 commit 4c60766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/Resources/Resources.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const Resources: React.FC<ResourcesProps> = ({ resources, getResourcesErr
5757
}
5858
if (!agent) {
5959
return (
60-
<TableRow>
60+
<TableRow key={`${resource.id}-${agentIndex}`}>
6161
<TableCell className={styles.resourceNameCell}>
6262
{resource.name}
6363
<span className={styles.resourceType}>{resource.type}</span>

0 commit comments

Comments
 (0)