rm unused var

pull/2856/head
filip mertens 2 years ago committed by GitHub
parent a458f0034b
commit 8f3bce7dba
  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