Skip to content

Commit

Permalink
fix: folding button failure
Browse files Browse the repository at this point in the history
  • Loading branch information
l1xnan committed Jun 17, 2024
1 parent a35257d commit 19e09f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/custom/TreeView3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ const Node = React.memo(
>
{item.isFolder() ? (
<ChevronRight
onClick={() => {
onClick();
onClick={(e) => {
onClick?.(e);
item.onSelect?.();
}}
className={cn(
Expand Down

0 comments on commit 19e09f3

Please sign in to comment.