mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
Remove millify from AvatarGroup
This commit is contained in:
parent
7bbc871e21
commit
eda3f7a232
@ -4,7 +4,6 @@ import type { IGroupUser } from 'interfaces/group';
|
||||
import { useMemo } from 'react';
|
||||
import { UserAvatar } from 'component/common/UserAvatar/UserAvatar'; // usage
|
||||
import { objectId } from 'utils/objectId';
|
||||
import millify from 'millify';
|
||||
|
||||
const StyledAvatars = styled('div')(({ theme }) => ({
|
||||
display: 'inline-flex',
|
||||
@ -86,7 +85,7 @@ const AvatarGroupInner = ({
|
||||
show={
|
||||
<AvatarComponent
|
||||
user={{
|
||||
username: `Total: ${millify(users.length)}`,
|
||||
username: `Total: ${users.length}`,
|
||||
}}
|
||||
>
|
||||
+{Math.min(overflow, MAX_OVERFLOW_DISPLAY_NUMBER)}
|
||||
|
Loading…
Reference in New Issue
Block a user