@@ -315,23 +315,21 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
315315 tooltipId = "remixUdappContractNamesTooltip"
316316 tooltipText = { contractOptions . title }
317317 >
318- < div id = "udappcontractNamesWrapper" className = "w-100" >
319- < select ref = { contractsRef }
320- value = { currentContract }
321- name = { contractOptions . title . toString ( ) }
322- onChange = { handleContractChange }
323- className = "udapp_contractNames custom-select"
324- disabled = { contractOptions . disabled }
325- style = { { display : loadType === 'abi' && ! isContractFile ( currentFile ) ? 'none' : 'block' , pointerEvents : contractOptions . disabled ? 'none' : 'auto' } }
326- >
327- < option value = '' disabled hidden > No compiled contracts</ option >
328- { ( contractList [ currentFile ] || [ ] ) . map ( ( contract , index ) => {
329- return < option key = { index } value = { contract . alias } >
330- { contract . alias } - { contract . file }
331- </ option >
332- } ) }
333- </ select >
334- </ div >
318+ < select ref = { contractsRef }
319+ value = { currentContract }
320+ name = { contractOptions . title . toString ( ) }
321+ onChange = { handleContractChange }
322+ className = "udapp_contractNames w-100 custom-select"
323+ disabled = { contractOptions . disabled }
324+ style = { { display : loadType === 'abi' && ! isContractFile ( currentFile ) ? 'none' : 'block' , pointerEvents : contractOptions . disabled ? 'none' : 'auto' } }
325+ >
326+ < option value = '' disabled hidden > No compiled contracts</ option >
327+ { ( contractList [ currentFile ] || [ ] ) . map ( ( contract , index ) => {
328+ return < option key = { index } value = { contract . alias } >
329+ { contract . alias } - { contract . file }
330+ </ option >
331+ } ) }
332+ </ select >
335333 </ CustomTooltip >
336334 < span className = "py-1" style = { { display : abiLabel . display } } > { abiLabel . content } </ span >
337335 </ div >
0 commit comments