mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
Merge branch 'feature/user-profile' of github.com:hydralauncher/hydra into feature/user-profile
This commit is contained in:
commit
c1d1dec49d
@ -98,11 +98,11 @@ export const UserEditProfileModal = ({
|
|||||||
className={styles.profileAvatarEditContainer}
|
className={styles.profileAvatarEditContainer}
|
||||||
onClick={handleChangeProfileAvatar}
|
onClick={handleChangeProfileAvatar}
|
||||||
>
|
>
|
||||||
{userProfile.profileImageUrl ? (
|
{newImageBase64 || userProfile.profileImageUrl ? (
|
||||||
<img
|
<img
|
||||||
className={styles.profileAvatar}
|
className={styles.profileAvatar}
|
||||||
alt={userProfile.displayName}
|
alt={userProfile.displayName}
|
||||||
src={newImageBase64 ?? userProfile.profileImageUrl}
|
src={newImageBase64 ?? userProfile.profileImageUrl ?? ""}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<PersonIcon size={72} />
|
<PersonIcon size={72} />
|
||||||
|
Loading…
Reference in New Issue
Block a user