fix dropdown enabling

pull/3868/head
Aniket-Engg 1 year ago committed by Aniket
parent 438df5c586
commit ca97fa4b47
  1. 4
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

@ -230,6 +230,10 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
contractList[currentFile].forEach(contract => { contractList[currentFile].forEach(contract => {
if (contract.alias === contractsRef.current.value) { if (contract.alias === contractsRef.current.value) {
setCompilerName(contract.compilerName) setCompilerName(contract.compilerName)
setContractOptions({
disabled: false,
title: <FormattedMessage id='udapp.contractOptionsTitle2' />
})
} }
}) })
} else{ } else{

Loading…
Cancel
Save