Passing an array of product fetched using admin api to a component in nodejs

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.

haseebintegriti_1-1683834618210.png

Here passing that productData array to the component.

haseebintegriti_2-1683834630410.png

Here the array is undefined inside the product Card component.

Can anybody help me in where I am missing something?