Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a911ed7

Browse files
committed
fix: add missing key to resource row
1 parent 4bf8fff commit a911ed7

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
@@ -66,7 +66,7 @@ export const Resources: React.FC<ResourcesProps> = ({
6666
}
6767
if (!agent) {
6868
return (
69-
<TableRow>
69+
<TableRow key={`${resource.id}-${agentIndex}`}>
7070
<TableCell className={styles.resourceNameCell}>
7171
{resource.name}
7272
<span className={styles.resourceType}>{resource.type}</span>

0 commit comments

Comments
 (0)