selected file UI fixed in Udapp

pull/2241/head
Aniket-Engg 3 years ago committed by yann300
parent f40b80927f
commit a8e7ac806b
  1. 8
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

@ -61,8 +61,16 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
/.(.vy)$/.exec(currentFile) || // vyper
/.(.lex)$/.exec(currentFile) || // lexon
/.(.contract)$/.exec(currentFile)) {
setAbiLabel({
display: 'none',
content: ''
})
if (!selectedContract) enableAtAddress(false)
} else {
setAbiLabel({
display: 'none',
content: ''
})
if (!selectedContract) enableAtAddress(false)
}
if (currentFile) {

Loading…
Cancel
Save