From 8f3bce7dba09656e16931be57086846933836a1f Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 2 Sep 2022 09:55:14 +0200 Subject: [PATCH] rm unused var --- libs/remix-ui/tree-view/src/types/index.ts | 1 - libs/remix-ui/workspace/src/lib/components/file-render.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/libs/remix-ui/tree-view/src/types/index.ts b/libs/remix-ui/tree-view/src/types/index.ts index 9827b7f2d4..4f6bfc9e02 100644 --- a/libs/remix-ui/tree-view/src/types/index.ts +++ b/libs/remix-ui/tree-view/src/types/index.ts @@ -23,5 +23,4 @@ export interface TreeViewItemProps { onContextMenu?: (...args: any) => void, onBlur?: (...args: any) => void, showIcon?: boolean - expandedPaths?: string[]; } diff --git a/libs/remix-ui/workspace/src/lib/components/file-render.tsx b/libs/remix-ui/workspace/src/lib/components/file-render.tsx index 232aa30b13..5535290c0a 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-render.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-render.tsx @@ -97,7 +97,6 @@ export const FileRender = (props: RenderFileProps) => { expand={props.expandPath.includes(file.path)} onMouseOver={handleMouseOver} onMouseOut={handleMouseOut} - expandedPaths={props.expandPath} > { file.child ? { @@ -142,7 +141,6 @@ export const FileRender = (props: RenderFileProps) => { labelClass={labelClass} onMouseOver={handleMouseOver} onMouseOut={handleMouseOut} - expandedPaths={props.expandPath} /> ) }