Fix debug generated sources

pull/5370/head
ioedeveloper 4 years ago
parent fad3b92aaa
commit b054040858
  1. 4
      libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx

@ -263,9 +263,9 @@ const vmDebugger = {
<div className="mt-3">
<p className="mt-2 debuggerLabel">Debugger Configuration</p>
<div className="mt-2 debuggerConfig custom-control custom-checkbox">
<input className="custom-control-input" id="debugGeneratedSourcesInput" onChange={(event) => {
<input className="custom-control-input" id="debugGeneratedSourcesInput" onChange={({ target: { checked } }) => {
setState(prevState => {
return { ...prevState, opt: { debugWithGeneratedSources: event.target.checked }}
return { ...prevState, opt: { debugWithGeneratedSources: checked }}
})
}} type="checkbox" title="Debug with generated sources" />
<label data-id="debugGeneratedSourcesLabel" className="form-check-label custom-control-label" htmlFor="debugGeneratedSourcesInput">Debug generated sources if available (from Solidity v0.7.2)</label>

Loading…
Cancel
Save