From 7a32e6da301701e1cc5354e2b3c6521afd678a18 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Sun, 7 Jan 2024 09:02:50 +0100 Subject: [PATCH 1/2] Update Search.tsx --- libs/remix-ui/search/src/lib/components/Search.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/remix-ui/search/src/lib/components/Search.tsx b/libs/remix-ui/search/src/lib/components/Search.tsx index b05faf947e..403dcaf59e 100644 --- a/libs/remix-ui/search/src/lib/components/Search.tsx +++ b/libs/remix-ui/search/src/lib/components/Search.tsx @@ -8,8 +8,6 @@ import {FindContainer} from './FindContainer' import {Undo} from './Undo' import { platformContext } from '@remix-ui/app' - - export const SearchTab = (props) => { const plugin = props.plugin const platform = useContext(platformContext) From ddf3b9e1d26985fce95a5afa22647187ac985345 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Sun, 7 Jan 2024 09:04:24 +0100 Subject: [PATCH 2/2] 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 +}