adrianhajdin / project_e_commerce

This is a code repository for the corresponding video tutorial. In this video, we're going to build a fully functional eCommerce application using commerce.js.
https://jsmastery.pro
1.88k stars 507 forks source link

browser (localhost) goes blank when product component is added in the map function on products.jsx page #72

Open tkusername opened 1 year ago

tkusername commented 1 year ago

Problem occurs at the beginning stage.

Map function is not giving the desired output.

Products.jsx page has the map function that should show the two products listed on top.

Product page is basically styling how the products will be displayed.

The moment I add that product component inside the map function, page goes blank.

For test, replace the product component inside map function with plain text, it appears on page.

What can be the issue?