Revert "yarn: update react-complex-tree to v2.0.0"

This reverts commit f0434b50ed.

This requires react >= v18
This commit is contained in:
David Lechner
2022-12-16 18:12:23 -06:00
committed by David Lechner
parent f560370b51
commit 0cb585b3e7
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ const FileTree: React.VoidFunctionComponent = () => {
[rootItemIndex]: {
index: rootItemIndex,
data: { fileName: '/' },
isFolder: true,
hasChildren: true,
children: [...files].map((f) => f.uuid),
},
} as Record<TreeItemIndex, FileTreeItem>,