Skip to content

Commit ca97fa4

Browse files
committed
fix dropdown enabling
1 parent 438df5c commit ca97fa4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
230230
contractList[currentFile].forEach(contract => {
231231
if (contract.alias === contractsRef.current.value) {
232232
setCompilerName(contract.compilerName)
233+
setContractOptions({
234+
disabled: false,
235+
title: <FormattedMessage id='udapp.contractOptionsTitle2' />
236+
})
233237
}
234238
})
235239
} else{

0 commit comments

Comments
 (0)