#How can i define my data properly?
2 messages · Page 1 of 1 (latest)
it's array of objects, which also consist one object that is called body, that's why i used forEach
2 messages · Page 1 of 1 (latest)
Is your json here an array?
If so, use map instead, but based on the example it's not really clear why you don't just setCards to json instead.
it's array of objects, which also consist one object that is called body, that's why i used forEach