Skip to content

Commit

Permalink
fix console error about missing key prop
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelKova committed Jul 15, 2024
1 parent f04f535 commit 697241a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sensenet/src/components/tree/tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac
)

const nodeItem = (
<Tooltip title={item.Name} placement="bottom">
<Tooltip title={item.Name} key={keyPrefix} placement="bottom">
<ListItem
ref={listItemRef}
className={classes.listItem}
Expand Down

0 comments on commit 697241a

Please sign in to comment.