remove un-needed check
This commit is contained in:
parent
015ff765db
commit
5e17662261
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class IconComponent extends React.PureComponent<Props> {
|
||||||
}
|
}
|
||||||
const inner = <Icon size={size} className="icon" color={color} />;
|
const inner = <Icon size={size} className="icon" color={color} />;
|
||||||
|
|
||||||
return tooltip && tooltipText ? (
|
return tooltipText ? (
|
||||||
<Tooltip icon body={tooltipText} direction={tooltip}>
|
<Tooltip icon body={tooltipText} direction={tooltip}>
|
||||||
{inner}
|
{inner}
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
Loading…
Add table
Reference in a new issue