https://codesandbox.io/s/angry-cray-d7l17s?file=/src/App.js
Hello guys. I have a table that displays some data. In the Market Status column, each cell shows either “Suspended” or “Released”. What I want to do is when I click that Change Status button in a specific cell, the string would change from “Suspended” to “Released” and if I clicked again, it would change from “Released” to “Suspended” (basically toggle these two strings) Can someone help me to achieve that functionality? I’ve spent quite some times now but I still couldn’t figure it out. Thanks