From 8b3c7e72f1f6124416785fe4dd74cd55d2f7748d Mon Sep 17 00:00:00 2001 From: BrickheadJohnny Date: Tue, 26 Nov 2024 15:05:47 +0100 Subject: [PATCH] feat(GuildCard): display member count and role count --- src/app/(dashboard)/explorer/components/GuildCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(dashboard)/explorer/components/GuildCard.tsx b/src/app/(dashboard)/explorer/components/GuildCard.tsx index 7c9ba80f0c..bc19365ba9 100644 --- a/src/app/(dashboard)/explorer/components/GuildCard.tsx +++ b/src/app/(dashboard)/explorer/components/GuildCard.tsx @@ -38,11 +38,11 @@ export const GuildCard: FunctionComponent<{ guild: Guild }> = ({ guild }) => { {new Intl.NumberFormat("en", { notation: "compact", - }).format(12345)} + }).format(guild.memberCount)} - 5 groups + {`${guild.roleCount} roles`}