Skip to content

Commit

Permalink
Revert 0 connections of non network connections, not possible
Browse files Browse the repository at this point in the history
  • Loading branch information
louilinn committed Oct 6, 2023
1 parent a1a8f3e commit 25eb3ae
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions src/components/ProfileMini.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,23 +200,25 @@ const ProfileMini = ({
action: classes.cardHeaderAction,
}}
subheader={
<Tooltip
arrow
placement="left"
title={
<Typography classes={{ root: 'body6_white' }} variant="body6">
{translate('ProfileMini.bodyMutualFriends', {
count: mutualFriendsCount,
username,
})}
connection.isReady && (
<Tooltip
arrow
placement="left"
title={
<Typography classes={{ root: 'body6_white' }} variant="body6">
{translate('ProfileMini.bodyMutualFriends', {
count: mutualFriendsCount,
username,
})}
</Typography>
}
>
<Typography component="span" variant="body8">
<IconFriends className={classes.mutualFriendsIcon} />{' '}
{mutualFriendsCount}
</Typography>
}
>
<Typography component="span" variant="body8">
<IconFriends className={classes.mutualFriendsIcon} />{' '}
{mutualFriendsCount}
</Typography>
</Tooltip>
</Tooltip>
)
}
title={<Typography variant="h5">@{username}</Typography>}
/>
Expand Down

0 comments on commit 25eb3ae

Please sign in to comment.