mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 11:29:12 +00:00
remove #0 discriminators
This commit is contained in:
parent
45a1f45055
commit
8c845d5d31
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ export const UserAvatarGroup = (props: Props) => (
|
|||
<Collapse preventCollapse={props.preventCollapse || false}>
|
||||
<GroupText>
|
||||
{props.user.username}
|
||||
{props.user.discriminator && props.user.discriminator !== '0' && (
|
||||
<Discriminator>#{props.user.discriminator}</Discriminator>
|
||||
)}
|
||||
</GroupText>
|
||||
|
||||
</Collapse>
|
||||
|
|
Loading…
Add table
Reference in a new issue