fix: image upload
This commit is contained in:
@@ -50,11 +50,13 @@ export function PersonalInformation() {
|
||||
: Gender.None,
|
||||
country: profileData.countryCode ?? '',
|
||||
};
|
||||
|
||||
setData(fetchedData);
|
||||
setOriginalData(fetchedData);
|
||||
|
||||
const imageBaseUrl = process.env.IMAGE_BASE_URL;
|
||||
|
||||
if (profileData.profileImageUrl) {
|
||||
const imageBaseUrl = 'https://accounts.business-harmony.com/uploads/';
|
||||
setUploadedImageUrl(`${imageBaseUrl}${profileData.profileImageUrl}`);
|
||||
} else {
|
||||
setUploadedImageUrl(null);
|
||||
|
||||
Reference in New Issue
Block a user