I am using react-table to make a table and I am generating column values from api by doing a looping like this
react-table
useEffect(() => { // columnHeade