|
|
@ -9,7 +9,7 @@ import { Renderer } from '@remix-ui/renderer' // eslint-disable-line |
|
|
|
import './css/style.css' |
|
|
|
import './css/style.css' |
|
|
|
|
|
|
|
|
|
|
|
export const SolidityCompiler = (props: SolidityCompilerProps) => { |
|
|
|
export const SolidityCompiler = (props: SolidityCompilerProps) => { |
|
|
|
const { plugin, plugin: { compileTabLogic, currentFile, fileProvider, fileManager, contractsDetails, contractMap, compileErrors, isHardHatProject, setHardHatCompilation, configurationSettings } } = props |
|
|
|
const { plugin, plugin: { compileTabLogic, fileProvider, fileManager, contractsDetails, contractMap, compileErrors, isHardHatProject, setHardHatCompilation, configurationSettings } } = props |
|
|
|
const [state, setState] = useState({ |
|
|
|
const [state, setState] = useState({ |
|
|
|
contractsDetails: {}, |
|
|
|
contractsDetails: {}, |
|
|
|
eventHandlers: {}, |
|
|
|
eventHandlers: {}, |
|
|
@ -75,6 +75,7 @@ export const SolidityCompiler = (props: SolidityCompilerProps) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const currentFile = plugin.getConfiguration('currentFile') |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
<div id="compileTabView"> |
|
|
|
<div id="compileTabView"> |
|
|
|