We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3b2299 commit c0536dfCopy full SHA for c0536df
1 file changed
anycode/components/TreeNodeComponent.tsx
@@ -59,7 +59,7 @@ const TreeNodeComponentImpl: React.FC<TreeNodeComponentProps> = ({
59
60
const handleNameClick = (e: React.MouseEvent) => {
61
e.stopPropagation();
62
- if (isActive) return;
+ if (isSelected) return;
63
onActivate(node.id);
64
65
if (node.type === 'file') {
@@ -81,7 +81,6 @@ const TreeNodeComponentImpl: React.FC<TreeNodeComponentProps> = ({
81
if (e.button !== 0) {
82
return;
83
}
84
85
86
};
87
0 commit comments