remove un-needed check

This commit is contained in:
Sean Yesmunt 2018-06-20 18:15:57 -04:00
parent 015ff765db
commit 5e17662261

View file

@ -60,7 +60,7 @@ class IconComponent extends React.PureComponent<Props> {
}
const inner = <Icon size={size} className="icon" color={color} />;
return tooltip && tooltipText ? (
return tooltipText ? (
<Tooltip icon body={tooltipText} direction={tooltip}>
{inner}
</Tooltip>