36ace6cc03
* Add ability to remove profile picture on Profile Settings * Fix lint * Fix according to review
6 lines
178 B
TypeScript
6 lines
178 B
TypeScript
export function getImageAbsoluteURI(imageRelativePath?: string | null) {
|
|
return imageRelativePath
|
|
? `${process.env.REACT_APP_FILES_URL}/${imageRelativePath}`
|
|
: null;
|
|
}
|