From ca97fa4b47cb58bc7b1d215a0c28d379e9173c7d Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Thu, 13 Jul 2023 21:13:59 +0530 Subject: [PATCH] fix dropdown enabling --- .../run-tab/src/lib/components/contractDropdownUI.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx b/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx index 46efee1d56..068a69f6b6 100644 --- a/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx @@ -230,6 +230,10 @@ export function ContractDropdownUI (props: ContractDropdownProps) { contractList[currentFile].forEach(contract => { if (contract.alias === contractsRef.current.value) { setCompilerName(contract.compilerName) + setContractOptions({ + disabled: false, + title: + }) } }) } else{