Hello Sir,
I would like to ask how can I fix this bug in Productscreen.js ?
const product = data.products.find((x) => x._id === props.match.params.id);
because there is not ‘match.params’ ?
Blagovest Asked question November 20, 2022
Hello Sir,
I would like to ask how can I fix this bug in Productscreen.js ?
const product = data.products.find((x) => x._id === props.match.params.id);
because there is not ‘match.params’ ?