Skip to content

Commit

Permalink
🐛 Add unique key for dependency row item
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Nov 14, 2023
1 parent fcd2948 commit 3b580c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/app/pages/dependencies/dependencies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export const Dependencies: React.FC = () => {
],
initialItemsPerPage: 10,
});

const {
result: { data: currentPageItems, total: totalItemCount },
isFetching,
Expand Down Expand Up @@ -193,7 +192,7 @@ export const Dependencies: React.FC = () => {
>
{currentPageItems?.map((dependency, rowIndex) => {
return (
<Tbody key={dependency.name}>
<Tbody key={dependency.name + rowIndex}>
<Tr {...getTrProps({ item: dependency })}>
<TableRowContentWithControls
{...tableControls}
Expand Down

0 comments on commit 3b580c0

Please sign in to comment.