How to update state based on item clicked in a modal in React?

前端 未结 0 1789
粉色の甜心
粉色の甜心 2021-02-04 13:57

I have a mapping function that maps an array of cards. When users click on a card, I want to show a modal with that card\'s details. However, my code does not seem to work, it k

相关标签:
回答
  • 消灭零回复
提交回复
热议问题