fix at address

pull/5100/head^2
aniket-engg 2 months ago committed by Aniket
parent 1b98d51e5a
commit 7af967b30a
  1. 2
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

@ -6,7 +6,6 @@ import { ContractData, FuncABI, OverSizeLimit } from '@remix-project/core-plugin
import * as ethJSUtil from '@ethereumjs/util' import * as ethJSUtil from '@ethereumjs/util'
import { ContractGUI } from './contractGUI' import { ContractGUI } from './contractGUI'
import { CustomTooltip, deployWithProxyMsg, upgradeWithProxyMsg } from '@remix-ui/helper' import { CustomTooltip, deployWithProxyMsg, upgradeWithProxyMsg } from '@remix-ui/helper'
import { title } from 'process'
const _paq = (window._paq = window._paq || []) const _paq = (window._paq = window._paq || [])
export function ContractDropdownUI(props: ContractDropdownProps) { export function ContractDropdownUI(props: ContractDropdownProps) {
@ -80,6 +79,7 @@ export function ContractDropdownUI(props: ContractDropdownProps) {
content: '', content: '',
}) })
if (!currentContract) enableAtAddress(false) if (!currentContract) enableAtAddress(false)
if (currentContract && loadedAddress) enableAtAddress(true)
} else { } else {
setAbiLabel({ setAbiLabel({
display: 'none', display: 'none',

Loading…
Cancel
Save