function ProductScreen(props) {
const product = data.products.find((x) => x._id === props.match.params.id)
<div className="col-2">
<img className="large" src={product.image} alt={product.name}/>
</div>
I'm trying to render the image of specific id but only alt attribute is being displayed. Can anyone help me with it. Thankyou