We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e190b28 commit 4850cf4Copy full SHA for 4850cf4
web-marketplace/src/pages/ProfileEdit/ProfileEdit.Main.tsx
@@ -60,8 +60,8 @@ export const ProfileEditMain = () => {
60
return {
61
name: name ? name : _(DEFAULT_NAME),
62
description: description?.trimEnd() ?? '',
63
- profileImage: image ?? defaultAvatar,
64
- backgroundImage: bgImage ?? DEFAULT_PROFILE_BG,
+ profileImage: image ? image : defaultAvatar,
+ backgroundImage: bgImage ? bgImage : DEFAULT_PROFILE_BG,
65
profileType: type ?? DEFAULT_PROFILE_TYPE,
66
twitterLink: twitterLink ?? '',
67
websiteLink: websiteLink ?? '',
0 commit comments