mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'feature/user-profile' of github.com:hydralauncher/hydra into feature/user-profile
This commit is contained in:
commit
c1d1dec49d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue