From 05fff4c38199d0656d2590714c3bc30f9f2fe8f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 3 Nov 2024 20:44:48 +0100 Subject: [PATCH] pl-fe: Remove comment for obsolete workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .../src/components/fork-awesome-icon.tsx | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/packages/pl-fe/src/components/fork-awesome-icon.tsx b/packages/pl-fe/src/components/fork-awesome-icon.tsx index f86048d73..c1681184b 100644 --- a/packages/pl-fe/src/components/fork-awesome-icon.tsx +++ b/packages/pl-fe/src/components/fork-awesome-icon.tsx @@ -14,21 +14,13 @@ interface IForkAwesomeIcon extends React.HTMLAttributes { fixedWidth?: boolean; } -const ForkAwesomeIcon: React.FC = ({ id, className, fixedWidth, ...rest }) => { - // Use the Fork Awesome retweet icon, but change its alt - // tag. There is a common adblocker rule which hides elements with - // alt='retweet' unless the domain is twitter.com. This should - // change what screenreaders call it as well. - // const alt = (id === 'retweet') ? 'repost' : id; - - return ( - - ); -}; +const ForkAwesomeIcon: React.FC = ({ id, className, fixedWidth, ...rest }) => ( + +); export { ForkAwesomeIcon as default };