diff --git a/src/utils/tree-renderer.tsx b/src/utils/tree-renderer.tsx index 5d847cf5..10bdbe86 100644 --- a/src/utils/tree-renderer.tsx +++ b/src/utils/tree-renderer.tsx @@ -16,7 +16,7 @@ import { MaybeElement, } from '@blueprintjs/core'; import React, { createContext } from 'react'; -import { TreeItem, TreeRenderProps, useTree } from 'react-complex-tree'; +import { TreeItem, TreeRenderProps } from 'react-complex-tree'; import { useBoolean } from 'usehooks-ts'; import { assert } from '.'; @@ -52,14 +52,10 @@ export type RenderProps = Parameters< const TreeContainer: React.VoidFunctionComponent> = ( props, ) => { - // work around https://github.com/lukasbach/react-complex-tree/issues/195 - const { treeLabel } = useTree(); - return (
{props.children}