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