This is my code below
I want to only map data upto where index is equal to 10. How do I change my code?
My reactjs code looks like below: