I have a challenge please. I am fetching images from redux store to my react component like this
<img src={profile.Image.avatar} alt="IMG" />
When the browser,s URL has no id, it displays properly on browser
localhost:3000/dashboard //without userID
But once I redirect to a private page having a user’s id on the URL, it won’t display
localhost:3000/private/546794546 //with userID
Please how do I resolve this so I can use it on the img “src”