I have an array of object that looks something like this.What I am trying to do is use .map to push the titles into a new array, but based on the number of votes that object has.
I have an array which contains objects. I am creating a map of this array to renders the names with a span component.
I am having an array which contains list of objects. I am doing map on this array and rendering the names with span tag.