Fix demetricator
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
de1d147cbd
commit
3d81cd03b9
1 changed files with 10 additions and 8 deletions
|
@ -30,14 +30,16 @@ const ProfileStats: React.FC<IProfileStats> = ({ account, onClickHandler }) => {
|
|||
|
||||
return (
|
||||
<HStack alignItems='center' className='gap-x-3' wrap>
|
||||
<HStack alignItems='center' space={1}>
|
||||
<Text theme='primary' weight='bold' size='sm'>
|
||||
{shortNumberFormat(account.statuses_count)}
|
||||
</Text>
|
||||
<Text weight='bold' size='sm'>
|
||||
{intl.formatMessage(messages.statuses)}
|
||||
</Text>
|
||||
</HStack>
|
||||
{!demetricator && (
|
||||
<HStack alignItems='center' space={1}>
|
||||
<Text theme='primary' weight='bold' size='sm'>
|
||||
{shortNumberFormat(account.statuses_count)}
|
||||
</Text>
|
||||
<Text weight='bold' size='sm'>
|
||||
{intl.formatMessage(messages.statuses)}
|
||||
</Text>
|
||||
</HStack>
|
||||
)}
|
||||
|
||||
<NavLink to={`/@${account.acct}/followers`} onClick={onClickHandler} title={intl.formatNumber(account.followers_count)} className='hover:underline'>
|
||||
<HStack alignItems='center' space={1}>
|
||||
|
|
Loading…
Reference in a new issue