I have a react component that is the detail view from a list.
I am trying to replace the image with a default image if the image does not exist and there is a 404 er
this works for me .
{}
student is the name of my array and noimage the image, when there is no image is display.