From aed7562acb80c56bbcab5a2cb4d4f00ff69e630b Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 28 Jun 2020 08:36:41 -0500 Subject: [PATCH] fix: parent candidacy --- src/client/sidebar.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/sidebar.jsx b/src/client/sidebar.jsx index 967acea..4a31a69 100644 --- a/src/client/sidebar.jsx +++ b/src/client/sidebar.jsx @@ -67,6 +67,7 @@ const Sidebar = () => { return (
!node.uri} generateNodeProps={({node}) => ({ onClick: () => { if (node.uri) { @@ -86,9 +87,9 @@ const Sidebar = () => { } }, })} - treeData={treeData} onChange={setTreeData} theme={FileExplorerTheme} + treeData={treeData} />
);