pull/3321/head^2
Joseph Izang 2 years ago committed by Aniket
parent 8ba6760bd9
commit 693a4b6da0
  1. 10
      apps/remix-ide/src/app/panels/file-panel.js
  2. 1
      libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx

@ -64,6 +64,16 @@ 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,6 +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()

Loading…
Cancel
Save