From 201e0a1d10d5a368cc406d0c4bf52879518acbbb Mon Sep 17 00:00:00 2001 From: BrickheadJohnny Date: Tue, 26 Nov 2024 17:06:16 +0100 Subject: [PATCH] fix(GuildCard): properly pluralize text on the role badge --- src/app/(dashboard)/explorer/components/GuildCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(dashboard)/explorer/components/GuildCard.tsx b/src/app/(dashboard)/explorer/components/GuildCard.tsx index bc19365ba9..5b72b82b26 100644 --- a/src/app/(dashboard)/explorer/components/GuildCard.tsx +++ b/src/app/(dashboard)/explorer/components/GuildCard.tsx @@ -42,7 +42,7 @@ export const GuildCard: FunctionComponent<{ guild: Guild }> = ({ guild }) => { - {`${guild.roleCount} roles`} + {`${guild.roleCount} role${guild.roleCount > 1 ? "s" : ""}`}