node-react-ecommerce icon indicating copy to clipboard operation
node-react-ecommerce copied to clipboard

products.map is not a function

Open Surbhi1209998 opened this issue 4 years ago • 4 comments

im getting products.map is not a function everytime i click on the logo or click back to result button. After clicking refresh the screen is returned.

Surbhi1209998 avatar Jul 18 '20 06:07 Surbhi1209998

In Constant folder check you write

export const PRODUCT_DETAILS_REQUEST = 'PRODUCT_DETAILS_REQUEST'; export const PRODUCT_DETAILS_SUCCESS = 'PRODUCT_DETAILS_SUCCESS'; export const PRODUCT_DETAILS_FAIL = 'PRODUCT_DETAILS_FAIL';

tell me if any problem and also if it work

shivamm620 avatar Jul 22 '20 18:07 shivamm620

Had the same problem, check that you added curly brackets around data in the async function in productActions.js

Ctrlanton avatar Aug 08 '20 21:08 Ctrlanton

homescreen_issue homescreen_issue

Manjulajntuk avatar Apr 12 '21 07:04 Manjulajntuk

please help me sir i am facing issue when try to run t h ecode in sandbox

Manjulajntuk avatar Apr 12 '21 07:04 Manjulajntuk