refactor(client): remove avatarType, add auth effects, simplify UserAvatar
This commit is contained in:
@@ -56,7 +56,6 @@ export function OrderChat({ messages, isPending, onSend }: Props) {
|
||||
<UserAvatar
|
||||
userId="admin"
|
||||
avatarUrl={adminAv?.avatar}
|
||||
avatarType={adminAv?.avatarType}
|
||||
avatarStyle={adminAv?.avatarStyle}
|
||||
size={24}
|
||||
/>
|
||||
@@ -64,7 +63,6 @@ export function OrderChat({ messages, isPending, onSend }: Props) {
|
||||
<UserAvatar
|
||||
userId={currentUser.id}
|
||||
avatarUrl={currentUser.avatar}
|
||||
avatarType={currentUser.avatarType}
|
||||
avatarStyle={currentUser.avatarStyle}
|
||||
size={24}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user