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