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 (
|
return (
|
||||||
<HStack alignItems='center' className='gap-x-3' wrap>
|
<HStack alignItems='center' className='gap-x-3' wrap>
|
||||||
<HStack alignItems='center' space={1}>
|
{!demetricator && (
|
||||||
<Text theme='primary' weight='bold' size='sm'>
|
<HStack alignItems='center' space={1}>
|
||||||
{shortNumberFormat(account.statuses_count)}
|
<Text theme='primary' weight='bold' size='sm'>
|
||||||
</Text>
|
{shortNumberFormat(account.statuses_count)}
|
||||||
<Text weight='bold' size='sm'>
|
</Text>
|
||||||
{intl.formatMessage(messages.statuses)}
|
<Text weight='bold' size='sm'>
|
||||||
</Text>
|
{intl.formatMessage(messages.statuses)}
|
||||||
</HStack>
|
</Text>
|
||||||
|
</HStack>
|
||||||
|
)}
|
||||||
|
|
||||||
<NavLink to={`/@${account.acct}/followers`} onClick={onClickHandler} title={intl.formatNumber(account.followers_count)} className='hover:underline'>
|
<NavLink to={`/@${account.acct}/followers`} onClick={onClickHandler} title={intl.formatNumber(account.followers_count)} className='hover:underline'>
|
||||||
<HStack alignItems='center' space={1}>
|
<HStack alignItems='center' space={1}>
|
||||||
|
|
Loading…
Reference in a new issue