When passing props to components in React, they're passed as key: value pairs through the default props
object in the parameters of the component. To access the value of product
you should do it like so:
const SingleProduct = (props) => {
console.log(props.product)
...
};