Skip to content

Commit

Permalink
🐛 Add unique key for dependency row item (#1539)
Browse files Browse the repository at this point in the history
Resolves #1510

Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 authored Nov 14, 2023
1 parent fcd2948 commit 44e6eeb
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 44e6eeb

Please sign in to comment.