Merge pull request #2856 from ethereum/expandedpaths

rm unused var
pull/5370/head
bunsenstraat 2 years ago committed by GitHub
commit 9b72b94662
  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