Skip to content

Commit

Permalink
Update packages/react-components/react-tree/src/components/TreeItem/u…
Browse files Browse the repository at this point in the history
…seTreeItem.tsx

Co-authored-by: ling1726 <[email protected]>
  • Loading branch information
bsunderhus and ling1726 committed Jan 4, 2023
1 parent a3cd130 commit d5cd7a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const useTreeItem_unstable = (props: TreeItemProps, ref: React.Ref<HTMLDi
root: {
...treeItemState.root,
onClick: useEventCallback(event => {
// if click event comer from actions, ignore it
// if click event originates from actions, ignore it
if (actionsRef.current && actionsRef.current?.contains(event.target as Node)) {
return;
}
Expand Down

0 comments on commit d5cd7a5

Please sign in to comment.