mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-15 11:04:49 +00:00
Revert "yarn: update react-complex-tree to v2.0.0"
This reverts commit f0434b50ed.
This requires react >= v18
This commit is contained in:
committed by
David Lechner
parent
f560370b51
commit
0cb585b3e7
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user