Open tkusername opened 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?
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?