fix: can not fav

This commit is contained in:
Tristan Yang
2022-12-26 17:25:13 +08:00
parent 5b1e7a4c12
commit c8a75b4e1b
3 changed files with 2 additions and 6 deletions
-4
View File
@@ -92,10 +92,6 @@ const StyledMsg = styled.div`
}
&.archive {
gap: 8px;
.avatar {
width: 24px;
height: 24px;
}
> .details {
gap: 0;
.up .name {
+1 -2
View File
@@ -227,11 +227,10 @@ export const normalizeArchiveData = (
thumbnail_id,
avatar: user.avatar
});
user.avatar = avatarUrl;
return {
source,
from_mid: mid,
user,
user: { ...user, avatar: avatarUrl },
content: transformedContent,
content_type,
properties,