From 62ce66dacb582686fb8c2900eeec3b551eaf406e Mon Sep 17 00:00:00 2001 From: Echo Date: Wed, 12 Nov 2025 12:01:34 +0100 Subject: [PATCH] [Glitch] Fix duplicate counters Port 4b1532e0084e57f06bc4cda7c69292c1f9a20f37 to glitch-soc Signed-off-by: Claire --- .../status/components/detailed_status.tsx | 64 ++++++++++++------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx b/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx index f5340c935c..7da372e2f5 100644 --- a/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx +++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx @@ -308,13 +308,17 @@ export const DetailedStatus: React.FC<{ to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/reblogs`} className='detailed-status__link' > - - - + + + ), + }} /> ); @@ -328,26 +332,34 @@ export const DetailedStatus: React.FC<{ to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/quotes`} className='detailed-status__link' > - - - + + + ), + }} /> ); } else { quotesLink = ( - - - + + + ), + }} /> ); @@ -358,13 +370,17 @@ export const DetailedStatus: React.FC<{ to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/favourites`} className='detailed-status__link' > - - - + + + ), + }} /> );