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.

Home Page:https://jsmastery.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

tkusername opened this issue · comments

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?