rm unused var

pull/5370/head
filip mertens 2 years ago committed by GitHub
parent b01a426b0c
commit 306ad819c7
  1. 1
      libs/remix-ui/tree-view/src/types/index.ts
  2. 2
      libs/remix-ui/workspace/src/lib/components/file-render.tsx

@ -23,5 +23,4 @@ export interface TreeViewItemProps {
onContextMenu?: (...args: any) => void,
onBlur?: (...args: any) => void,
showIcon?: boolean
expandedPaths?: string[];
}

@ -97,7 +97,6 @@ export const FileRender = (props: RenderFileProps) => {
expand={props.expandPath.includes(file.path)}
onMouseOver={handleMouseOver}
onMouseOut={handleMouseOut}
expandedPaths={props.expandPath}
>
{
file.child ? <TreeView id={`treeView${file.path}`} key={`treeView${file.path}`} {...spreadProps}>{
@ -142,7 +141,6 @@ export const FileRender = (props: RenderFileProps) => {
labelClass={labelClass}
onMouseOver={handleMouseOver}
onMouseOut={handleMouseOut}
expandedPaths={props.expandPath}
/>
)
}

Loading…
Cancel
Save