I am trying to add a parameter into my map function in react. But after I wrap it around in another function, the return value becomes null (at least when I deb
map