Merge branch 'feature/user-profile' of github.com:hydralauncher/hydra into feature/user-profile

This commit is contained in:
Chubby Granny Chaser 2024-06-19 04:29:36 +01:00
commit c1d1dec49d
No known key found for this signature in database

View File

@ -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} />