We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bd3101 commit 7ef4c59Copy full SHA for 7ef4c59
src/renderers/Expandable.js
@@ -27,7 +27,9 @@ const Expandable = ({
27
28
return (
29
<span onDoubleClick={handleChange}>
30
- <i tabIndex={0} onKeyDown={submitEvent(handleChange)} onClick={handleChange} className={className} />
+ {hasChildren && (
31
+ <i tabIndex={0} onKeyDown={submitEvent(handleChange)} onClick={handleChange} className={className} />
32
+ )}
33
{children}
34
</span>
35
);
0 commit comments