|
|
|
@ -274,6 +274,12 @@ export function ContractGUI (props: ContractGUIProps) { |
|
|
|
|
<div |
|
|
|
|
className="udapp_contractActionsContainerSingle pt-2" |
|
|
|
|
style={{ display: toggleContainer ? "none" : "flex" }} |
|
|
|
|
>
|
|
|
|
|
<CustomTooltip |
|
|
|
|
placement={"right"} |
|
|
|
|
tooltipClasses="text-wrap" |
|
|
|
|
tooltipId="remixUdappInstanceButtonTooltip" |
|
|
|
|
tooltipText={toggleUpgradeImp && !proxyAddress ? 'Proxy address cannot be empty' : buttonOptions.title} |
|
|
|
|
> |
|
|
|
|
<button |
|
|
|
|
onClick={handleActionClick} |
|
|
|
@ -281,16 +287,10 @@ export function ContractGUI (props: ContractGUIProps) { |
|
|
|
|
data-id={buttonOptions.dataId} |
|
|
|
|
data-title={buttonOptions.title} |
|
|
|
|
disabled={(toggleUpgradeImp && !proxyAddress) || props.disabled} |
|
|
|
|
> |
|
|
|
|
<CustomTooltip |
|
|
|
|
placement={"right"} |
|
|
|
|
tooltipClasses="text-wrap" |
|
|
|
|
tooltipId="remixUdappInstanceButtonTooltip" |
|
|
|
|
tooltipText={toggleUpgradeImp && !proxyAddress ? 'Proxy address cannot be empty' : buttonOptions.title} |
|
|
|
|
> |
|
|
|
|
<div>{title}</div> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
</button> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
<input |
|
|
|
|
className="form-control" |
|
|
|
|
data-id={ |
|
|
|
|