Skip to content

Commit

Permalink
Fix console warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tschumpr committed Aug 7, 2024
1 parent 4b6a2ee commit 205dbf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/src/components/dataCard/dataCards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export const DataCards = props => {
cardLabel = `${cyLabel}-card.${index}.edit`;
}
return (
<DataCardItem key={item.id}>
<DataCard key={item.id} data-cy={cardLabel}>
<DataCardItem key={index}>
<DataCard key={index} data-cy={cardLabel}>
{isEditable && isSelected
? renderInput({
item: item,
Expand Down

0 comments on commit 205dbf9

Please sign in to comment.