mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +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}
|
||||
onClick={handleChangeProfileAvatar}
|
||||
>
|
||||
{userProfile.profileImageUrl ? (
|
||||
{newImageBase64 || userProfile.profileImageUrl ? (
|
||||
<img
|
||||
className={styles.profileAvatar}
|
||||
alt={userProfile.displayName}
|
||||
src={newImageBase64 ?? userProfile.profileImageUrl}
|
||||
src={newImageBase64 ?? userProfile.profileImageUrl ?? ""}
|
||||
/>
|
||||
) : (
|
||||
<PersonIcon size={72} />
|
||||
|
Loading…
Reference in New Issue
Block a user