chore: add image size

This commit is contained in:
hdsuperman
2022-12-22 22:05:21 +08:00
parent b374bc7ddd
commit f4fbc7adbd
11 changed files with 61 additions and 18 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ const User: FC<Props> = ({ uid }) => {
<StyledWrapper>
<NavLink to={`/setting?nav=my_account&f=${pathname}`}>
<div className="avatar">
<Avatar src={user.avatar} name={user.name} />
<Avatar width={32} height={32} src={user.avatar} name={user.name} />
</div>
</NavLink>
</StyledWrapper>