I am fetching the list of product using product list api and passing it to a component but in the component it is showing that array as undefined. When I console that variable inside the fetch function it shows the array in console. scope of the variable is also available.
Here fetching the products.
![]()
Here passing that productData array to the component.

Here the array is undefined inside the product Card component.
Can anybody help me in where I am missing something?
