add more user information to member sidebar
This commit is contained in:
parent
c79bcb62e1
commit
90292ba42e
|
@ -20,7 +20,7 @@ export const DisconnectDialog = (props: Props) => {
|
|||
<Flex direction="column" align="center" gap="2">
|
||||
<Avatar size={64} />
|
||||
<Heading weight="600">{account.username}</Heading>
|
||||
<Text color="gray">Chatkey: {account.chatKey}</Text>
|
||||
<Text color="gray">Chatkey: {account.publicKey}</Text>
|
||||
<EmojiHash />
|
||||
</Flex>
|
||||
</Dialog.Body>
|
||||
|
|
|
@ -18,7 +18,12 @@ export const MemberItem = (props: Props) => {
|
|||
|
||||
return (
|
||||
<Flex gap="2" align="center" css={{ height: 56 }}>
|
||||
<Avatar size={32} indicator={indicator} colorHash={colorHash} />
|
||||
<Avatar
|
||||
size={32}
|
||||
indicator={indicator}
|
||||
name={username}
|
||||
colorHash={colorHash}
|
||||
/>
|
||||
<div>
|
||||
<Flex align="center" gap={1}>
|
||||
<Text size="15" color="accent" truncate>
|
||||
|
|
|
@ -17,7 +17,7 @@ export const UserItem = (props: Props) => {
|
|||
return (
|
||||
<Flex align="center" justify="between">
|
||||
<Flex gap="2" align="center" css={{ height: 56 }}>
|
||||
<Avatar size={32} />
|
||||
<Avatar size={32} name={account.username} />
|
||||
<div>
|
||||
<Flex align="center" gap={1}>
|
||||
<Text size="15" color="accent">
|
||||
|
|
Loading…
Reference in New Issue