|
|
@ -271,13 +271,6 @@ export function ContractGUI (props: ContractGUIProps) { |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="udapp_contractActionsContainerSingle pt-2" |
|
|
|
className="udapp_contractActionsContainerSingle pt-2" |
|
|
|
style={{ display: toggleContainer ? "none" : "flex" }} |
|
|
|
style={{ display: toggleContainer ? "none" : "flex" }} |
|
|
|
>
|
|
|
|
|
|
|
|
<CustomTooltip |
|
|
|
|
|
|
|
delay={0} |
|
|
|
|
|
|
|
placement={"right"} |
|
|
|
|
|
|
|
tooltipClasses="text-wrap" |
|
|
|
|
|
|
|
tooltipId="remixUdappInstanceButtonTooltip" |
|
|
|
|
|
|
|
tooltipText={toggleUpgradeImp && !proxyAddress ? 'Proxy address cannot be empty' : (props.inputs !=='' && basicInput === '') ? 'Input required' : buttonOptions.title} |
|
|
|
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div |
|
|
|
<div |
|
|
|
className='d-flex' |
|
|
|
className='d-flex' |
|
|
@ -289,10 +282,17 @@ export function ContractGUI (props: ContractGUIProps) { |
|
|
|
data-title={buttonOptions.title} |
|
|
|
data-title={buttonOptions.title} |
|
|
|
disabled={(toggleUpgradeImp && !proxyAddress) || props.disabled || (props.inputs !=='' && basicInput === '')} |
|
|
|
disabled={(toggleUpgradeImp && !proxyAddress) || props.disabled || (props.inputs !=='' && basicInput === '')} |
|
|
|
> |
|
|
|
> |
|
|
|
{title} |
|
|
|
<CustomTooltip |
|
|
|
|
|
|
|
delay={0} |
|
|
|
|
|
|
|
placement={"right"} |
|
|
|
|
|
|
|
tooltipClasses="text-wrap" |
|
|
|
|
|
|
|
tooltipId="remixUdappInstanceButtonTooltip" |
|
|
|
|
|
|
|
tooltipText={toggleUpgradeImp && !proxyAddress ? 'Proxy address cannot be empty' : (props.inputs !=='' && basicInput === '') ? 'Input required' : buttonOptions.title} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div>{title}</div> |
|
|
|
|
|
|
|
</CustomTooltip> |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
<input |
|
|
|
<input |
|
|
|
className="form-control" |
|
|
|
className="form-control" |
|
|
|
data-id={ |
|
|
|
data-id={ |
|
|
|