I figured it out. One of the array elements must have been null, so now I just ran data.filter and data.map. Thanks all for the help!
I figured it out. One of the array elements must have been null, so now I just ran data.filter and data.map. Thanks all for the help!