From d13b1be332d183ea4518af04cec87575187f776f Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Sat, 12 Aug 2023 10:20:07 -0700 Subject: [PATCH] misc: switch to FormattedNumber --- .../components/lemmy/community/CommunityItem.svelte | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/lib/components/lemmy/community/CommunityItem.svelte b/src/lib/components/lemmy/community/CommunityItem.svelte index 8c360ce2..2adcd191 100644 --- a/src/lib/components/lemmy/community/CommunityItem.svelte +++ b/src/lib/components/lemmy/community/CommunityItem.svelte @@ -56,19 +56,11 @@
- - {Intl.NumberFormat('en', { notation: 'compact' }).format( - community.counts.subscribers - )} - +
- - {Intl.NumberFormat('en', { notation: 'compact' }).format( - community.counts.posts - )} - +