|
|
@ -272,13 +272,6 @@ export function ContractGUI (props: ContractGUIProps) { |
|
|
|
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' |
|
|
|
onClick={handleActionClick} |
|
|
|
onClick={handleActionClick} |
|
|
@ -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={ |
|
|
|