From 3d81cd03b9ab4b1695d0f696f660bf0e94ce4041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 9 Sep 2024 08:55:18 +0200 Subject: [PATCH] Fix demetricator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .../features/ui/components/profile-stats.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/pl-fe/src/features/ui/components/profile-stats.tsx b/packages/pl-fe/src/features/ui/components/profile-stats.tsx index 564403316..cd9b768f1 100644 --- a/packages/pl-fe/src/features/ui/components/profile-stats.tsx +++ b/packages/pl-fe/src/features/ui/components/profile-stats.tsx @@ -30,14 +30,16 @@ const ProfileStats: React.FC = ({ account, onClickHandler }) => { return ( - - - {shortNumberFormat(account.statuses_count)} - - - {intl.formatMessage(messages.statuses)} - - + {!demetricator && ( + + + {shortNumberFormat(account.statuses_count)} + + + {intl.formatMessage(messages.statuses)} + + + )}