remove tooltip from badges

pull/3779/head
Joseph Izang 1 year ago
parent bce3b68660
commit bb60ad9241
  1. 16
      libs/remix-ui/vertical-icons-panel/src/lib/components/Badge.tsx

@ -48,23 +48,23 @@ function Badge ({ badgeStatus }: BadgeProps) {
<>
{
badgeStatus && checkStatusKeyValue(badgeStatus.key, badgeStatus.type) ? (
<CustomTooltip
placement={'right'}
tooltipClasses="text-nowrap"
tooltipId="verticalItemsbadge"
tooltipText={badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ? 'There are multiple warnings or errors that might need to be fixed.' :badgeStatus.title}
>
// <CustomTooltip
// placement={'right'}
// tooltipClasses="text-nowrap"
// tooltipId="verticalItemsbadge"
// tooltipText={badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ? 'There are multiple warnings or errors that might need to be fixed.' :badgeStatus.title}
// >
<i
className={`${resolveClasses(badgeStatus.key, badgeStatus.type!)}`}
aria-hidden="true"
>
{ badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ? <span>&nbsp;</span> : badgeStatus.text }
</i>
</CustomTooltip>
// </CustomTooltip>
) : null
}
</>
)
}
export default Badge
export default Badge

Loading…
Cancel
Save