From 84cdb6cc666d3df4606ee70f3790f7debfebfd56 Mon Sep 17 00:00:00 2001 From: xatier Date: Tue, 11 Nov 2025 05:02:41 -0600 Subject: [PATCH] Fix duplicated counters (fix #32614) (#36785) --- .../status/components/detailed_status.tsx | 56 ++++++++++++------- 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/app/javascript/mastodon/features/status/components/detailed_status.tsx b/app/javascript/mastodon/features/status/components/detailed_status.tsx index 9b525b616c7..26a7c3534ca 100644 --- a/app/javascript/mastodon/features/status/components/detailed_status.tsx +++ b/app/javascript/mastodon/features/status/components/detailed_status.tsx @@ -271,13 +271,17 @@ export const DetailedStatus: React.FC<{ to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/reblogs`} className='detailed-status__link' > - - - + + + ), + }} /> ); @@ -291,26 +295,34 @@ export const DetailedStatus: React.FC<{ to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/quotes`} className='detailed-status__link' > - - - + + + ), + }} /> ); } else { quotesLink = ( - - - + + + ), + }} /> ); @@ -321,13 +333,17 @@ export const DetailedStatus: React.FC<{ to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/favourites`} className='detailed-status__link' > - - - + + + ), + }} /> );