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

@ -315,12 +315,11 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
tooltipId="remixUdappContractNamesTooltip"
tooltipText={contractOptions.title}
>
<div id="udappcontractNamesWrapper" className="w-100">
<select ref={contractsRef}
value={currentContract}
name={contractOptions.title.toString()}
onChange={handleContractChange}
className="udapp_contractNames custom-select"
className="udapp_contractNames w-100 custom-select"
disabled={contractOptions.disabled}
style={{ display: loadType === 'abi' && !isContractFile(currentFile) ? 'none' : 'block', pointerEvents: contractOptions.disabled ? 'none' : 'auto' }}
>
@ -331,7 +330,6 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
</option>
})}
</select>
</div>
</CustomTooltip>
<span className="py-1" style={{ display: abiLabel.display }}>{abiLabel.content}</span>
</div>

Loading…
Cancel
Save