I have a record from my Redux store that looks like the following If I console log the record I get I am interested in the fruit Ids (1234 and 5678 in this example) and put them in an array. Here is what I am trying to do at the moment: But the problem is when try to use fruitIds