GroupLink: address #4485 design review

This commit is contained in:
Matilde Park 2021-02-23 17:16:06 -05:00
parent f77e1da331
commit d3467e6961
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ export function GroupLink(
<Text ml="2" fontWeight="medium" mono={!preview}>
{preview ? preview.metadata.title : name}
</Text>
<Text pt='1' ml='2'>{preview ? preview.members : "Unknown"} members</Text>
<Text pt='1' ml='2'>{preview ? `${preview.members} members` : "Fetching member count"}</Text>
</Col>
</Row>
</Box>

View File

@ -15,7 +15,7 @@ export function MetadataIcon(props: MetadataIconProps) {
const bgColor = metadata.picture ? {} : { bg: `#${uxToHex(metadata.color)}` };
return (
<Box {...bgColor} {...rest}>
<Box {...bgColor} {...rest} borderRadius={2}>
{metadata.picture && <Image height="100%" src={metadata.picture} />}
</Box>
);