mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 08:43:57 +00:00
fix: not updating profile pic preview
This commit is contained in:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user