I am trying to render a tableData of a format like:

in a <TableRow> like :
{this.state.tableData.map((row, index) => (
<TableRow key={index}>
<TableRowColumn>{console.log(tableData[index].name)}{tableData[index].name}</TableRowColumn>
<TableRowColumn>{tableData[index].role}</TableRowColumn>
<TableRowColumn>{tableData[index].phone}</TableRowColumn>
<TableRowColumn>{tableData[index].email}</TableRowColumn>
</TableRow>
))}
the console in the code snippet is giving me the correct value I can check in the browser.
But the code snippet <TableRowColumn>{tableData[index].name}</TableRowColumn>
is giving the error Error : TypeError: Cannot read property 'name' of undefined
any suggestion please!!
