[![enter image description here](https://i.stack.imgur.com/cd8ow.png)](https://i.stack.imgur.com/cd8ow.png)i try to render a component of all the products that are in the cart with window alert but i get just 'object object ' even when the component is empty.
[![enter image description here](https://i.stack.imgur.com/6ZGIe.png)](https://i.stack.imgur.com/6ZGIe.png)[![enter image description here](https://i.stack.imgur.com/HBVQw.png)](https://i.stack.imgur.com/HBVQw.png)

i tried to pass it to a function but the result remains the same