hope you are doing great, I am trying to bind array values in my map function but I am unsuccessful in achieving my result
Here is the console result of line number 32 where I am getting data
my screen is looking like this now
if i {console.log(item)} inside the map function
CodePudding user response:
Here you are having your object inside an array, so whenever you are mapping the fdata array then inside that there is another array so instead of using, item.name, item.sellingPrice use item[0].name, itme[0].sellingPrice