Merge branch 'newFEdesktop' of https://github.com/ethereum/remix-project into newFEdesktop

LianaHus-patch-7
bunsenstraat 11 months ago
commit b2bf1dceee
  1. 2
      libs/remix-ui/search/src/lib/components/Search.tsx
  2. 3
      libs/remix-ui/workspace/src/lib/components/flat-tree.tsx

@ -8,8 +8,6 @@ import {FindContainer} from './FindContainer'
import {Undo} from './Undo' import {Undo} from './Undo'
import { platformContext } from '@remix-ui/app' import { platformContext } from '@remix-ui/app'
export const SearchTab = (props) => { export const SearchTab = (props) => {
const plugin = props.plugin const plugin = props.plugin
const platform = useContext(platformContext) const platform = useContext(platformContext)

@ -49,7 +49,6 @@ let mouseTimer: any = {
export const FlatTree = (props: FlatTreeProps) => { export const FlatTree = (props: FlatTreeProps) => {
const { files, flatTree, expandPath, focusEdit, editModeOff, handleTreeClick, moveFile, moveFolder, fileState, focusElement, handleClickFolder } = props const { files, flatTree, expandPath, focusEdit, editModeOff, handleTreeClick, moveFile, moveFolder, fileState, focusElement, handleClickFolder } = props
//const [flatTree, setFlatTree] = useState<{ [x: string]: FileType }>({})
const [hover, setHover] = useState<string>('') const [hover, setHover] = useState<string>('')
const [mouseOverTarget, setMouseOverTarget] = useState<{ const [mouseOverTarget, setMouseOverTarget] = useState<{
path: string, path: string,
@ -297,4 +296,4 @@ export const FlatTree = (props: FlatTreeProps) => {
</div> </div>
</>) </>)
} }

Loading…
Cancel
Save