From ddf3b9e1d26985fce95a5afa22647187ac985345 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Sun, 7 Jan 2024 09:04:24 +0100 Subject: [PATCH] Update flat-tree.tsx --- libs/remix-ui/workspace/src/lib/components/flat-tree.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx b/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx index 9b1315f734..8707d5b7d0 100644 --- a/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx +++ b/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx @@ -49,7 +49,6 @@ let mouseTimer: any = { export const FlatTree = (props: FlatTreeProps) => { const { files, flatTree, expandPath, focusEdit, editModeOff, handleTreeClick, moveFile, moveFolder, fileState, focusElement, handleClickFolder } = props - //const [flatTree, setFlatTree] = useState<{ [x: string]: FileType }>({}) const [hover, setHover] = useState('') const [mouseOverTarget, setMouseOverTarget] = useState<{ path: string, @@ -297,4 +296,4 @@ export const FlatTree = (props: FlatTreeProps) => { ) -} \ No newline at end of file +}