fix index in udapp

pull/3816/head
yann300 1 year ago committed by Aniket
parent 443982e3ee
commit fcde6dbfc7
  1. 3
      libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx

@ -30,9 +30,6 @@ export function UniversalDappUI (props: UdappProps) {
} else {
setContractABI(props.instance.abi)
}
}, [props.instance.abi])
useEffect(() => {
if (props.instance.address) {
// @ts-ignore
let address = (props.instance.address.slice(0, 2) === '0x' ? '' : '0x') + props.instance.address.toString('hex')

Loading…
Cancel
Save