clean out redundancies in file explorer

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent e6ac76cf13
commit 9e921a7d8b
  1. 10
      apps/remix-ide/src/app/panels/file-panel.js
  2. 2
      libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx
  3. 2
      libs/remix-ui/workspace/src/lib/types/index.ts

@ -64,16 +64,6 @@ module.exports = class Filepanel extends ViewPlugin {
return <div id='fileExplorerView'><FileSystemProvider plugin={this} /></div>
}
compileContractForUml (path) {
console.log({ path })
this.call('solidity', 'compile', async (target, source) => {
console.log({
target,
source
})
})
}
/**
* @param item { id: string, name: string, type?: string[], path?: string[], extension?: string[], pattern?: string[] }
* @param callback (...args) => void

@ -26,7 +26,7 @@ export const ContractSelection = (props: ContractSelectionProps) => {
const [svgPayload, setSVGPayload] = useState('')
const [showViewer, setShowViewer] = useState(false)
const [contentForAST, setContentForAST] = useState('')
console.log({ props })
const intl = useIntl()

@ -79,7 +79,7 @@ export interface FilePanelType extends ViewPlugin {
export interface FileExplorerProps {
name: string,
menuItems?: string[],
plugin: FilePanelType
plugin: any
contextMenuItems: MenuItems,
removedContextMenuItems: MenuItems,
files: { [x: string]: Record<string, FileType> },

Loading…
Cancel
Save