pull/2265/head
Aniket-Engg 3 years ago committed by yann300
parent 7bb5b2e1cb
commit 09563840cf
  1. 4
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -499,14 +499,14 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
const updatehhCompilation = (event) => { const updatehhCompilation = (event) => {
const checked = event.target.checked const checked = event.target.checked
if (checked) setTruffleCompilation(false) // wayaround to reset the variable
sethhCompilation(checked) sethhCompilation(checked)
api.setAppParameter('hardhat-compilation', checked) api.setAppParameter('hardhat-compilation', checked)
} }
const updateTruffleCompilation = (event) => { const updateTruffleCompilation = (event) => {
const checked = event.target.checked const checked = event.target.checked
if (checked) sethhCompilation(false) // wayaround to reset the variable
setTruffleCompilation(checked) setTruffleCompilation(checked)
api.setAppParameter('truffle-compilation', checked) api.setAppParameter('truffle-compilation', checked)
} }

Loading…
Cancel
Save