From 75f943b39cfbd3e8240f94b8de3ba1e45fab99e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Tue, 6 Jan 2026 00:37:52 +0100 Subject: [PATCH] pl-fe: ok MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/features/ui/components/profile-stats.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 1d77ced20..05d8b24a2 100644 --- a/packages/pl-fe/src/features/ui/components/profile-stats.tsx +++ b/packages/pl-fe/src/features/ui/components/profile-stats.tsx @@ -1,6 +1,6 @@ import { Link } from '@tanstack/react-router'; import React from 'react'; -import { FormattedMessage } from 'react-intl'; +import { FormattedMessage, useIntl } from 'react-intl'; import HStack from 'pl-fe/components/ui/hstack'; import Text from 'pl-fe/components/ui/text'; @@ -16,6 +16,7 @@ interface IProfileStats { /** Display follower and following counts for an account. */ const ProfileStats: React.FC = ({ account, onClickHandler }) => { + const intl = useIntl(); const { demetricator } = useSettings(); if (!account) {