mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 15:32:11 -05:00
singular form of "members" when only one member
This commit is contained in:
parent
f7f101f7b2
commit
21122583aa
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ export function EmbedInvite(props: Props) {
|
||||||
<EmbedInviteDetails>
|
<EmbedInviteDetails>
|
||||||
<EmbedInviteName>{invite.server_name}</EmbedInviteName>
|
<EmbedInviteName>{invite.server_name}</EmbedInviteName>
|
||||||
<EmbedInviteMemberCount>
|
<EmbedInviteMemberCount>
|
||||||
{invite.member_count.toLocaleString()} members
|
{invite.member_count.toLocaleString()} {invite.member_count === 1 ? "member" : "members"}
|
||||||
</EmbedInviteMemberCount>
|
</EmbedInviteMemberCount>
|
||||||
</EmbedInviteDetails>
|
</EmbedInviteDetails>
|
||||||
{processing ? (
|
{processing ? (
|
||||||
|
|
Loading…
Reference in a new issue