about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-28 12:56:51 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-10-28 19:49:45 +0200
commit9f6c175550cf419334ca65bd71b7a456c13cb5a4 (patch)
treec93f135040ead96a070e49191f0f8a56f6c1480f /app/javascript/flavours/glitch/components
parent2cb3dd93649670019871183f5d4d6bb77e33f5ba (diff)
[Glitch] Fix number of uses being shown again on trending hashtags in web UI
Port 923f06a07c851b25b989412f341f87f8b8fff42f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r--app/javascript/flavours/glitch/components/hashtag.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/hashtag.js b/app/javascript/flavours/glitch/components/hashtag.js
index 085591439..422b9a8fa 100644
--- a/app/javascript/flavours/glitch/components/hashtag.js
+++ b/app/javascript/flavours/glitch/components/hashtag.js
@@ -56,7 +56,6 @@ export const ImmutableHashtag = ({ hashtag }) => (
     href={hashtag.get('url')}
     to={`/tags/${hashtag.get('name')}`}
     people={hashtag.getIn(['history', 0, 'accounts']) * 1 + hashtag.getIn(['history', 1, 'accounts']) * 1}
-    uses={hashtag.getIn(['history', 0, 'uses']) * 1 + hashtag.getIn(['history', 1, 'uses']) * 1}
     history={hashtag.get('history').reverse().map((day) => day.get('uses')).toArray()}
   />
 );