Fix demetricator

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-09 08:55:18 +02:00
parent de1d147cbd
commit 3d81cd03b9

View file

@ -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}>