mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
Hiding bio tooltip when the user has no bio.
This commit is contained in:
@@ -37,7 +37,7 @@ export default class AuthorName extends Component {
|
||||
onMouseLeave={this.handleMouseLeave}
|
||||
>
|
||||
{author && author.name}
|
||||
{ showTooltip && <Tooltip>
|
||||
{ showTooltip && author.settings.bio && <Tooltip>
|
||||
<div className={`${packagename}-bio`}>
|
||||
{author.settings.bio}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user