v3: added emoji picker, various bug and layout fixes

This commit is contained in:
khannurien
2026-03-22 20:24:29 +00:00
parent a104113e05
commit c5051e3485
24 changed files with 384 additions and 177 deletions

View File

@@ -503,11 +503,8 @@ export function UserPublicProfile() {
}
setState((prev) =>
prev.status === "loaded"
? {
...prev,
user: { ...prev.user, avatarMime: body.data?.avatarMime },
}
prev.status === "loaded" && body.data
? { ...prev, user: deserializeUser(body.data) }
: prev
);
} catch {
@@ -561,6 +558,7 @@ export function UserPublicProfile() {
username={profileUser.username}
hasAvatar={!!profileUser.avatarMime}
size={72}
version={profileUser.updatedAt?.getTime()}
/>
{isOwnProfile && (
<label className="avatar-change-overlay" title="Change avatar">