chore: updates

This commit is contained in:
Tristan Yang
2024-06-19 22:49:26 +08:00
parent 5d16096ea3
commit eac9980956
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ const Session: FC<IProps> = ({ id, mid }) => {
} }
to={`/chat/channel/${id}`} to={`/chat/channel/${id}`}
> >
<div className="flex shrink-0"> <div className="flex shrink-0 aspect-square">
<Avatar <Avatar
width={40} width={40}
height={40} height={40}
+1 -1
View File
@@ -143,7 +143,7 @@ const Session: FC<IProps> = ({
to={navPath} to={navPath}
onContextMenu={handleContextMenuEvent} onContextMenu={handleContextMenuEvent}
> >
<div className="flex shrink-0 relative w-10 h-10"> <div className="flex shrink-0 relative size-10">
{type == "dm" ? ( {type == "dm" ? (
<User avatarSize={40} compact interactive={false} uid={id} /> <User avatarSize={40} compact interactive={false} uid={id} />
) : ( ) : (