Answer by Priyanka Panjabi for Displaying images from a URL in React
Try it like this :<img src={avatarURL.replace(/['"]+/g, '')}/> // to remove extra double quotes
View ArticleDisplaying images from a URL in React
I'm trying to load user avatars from a S3 bucket where on making a GET request to /uploads/resume/{user_uid} a URL is returned with the image. This is how my request looks likeconst getAvatar = async()...
View Article