How to run map function I am trying to map function but it throws error cannot read the property of map undefined in Reactjs
I'm trying to do something like the following in React JSX component
const data = {
Details: [
{
"id": "6f12",
"nextPart": {
"id": "1ae2",
"text": "Details",
"heading": "twice data and staff memeber",
"checks": [
{
"value": "A"
},
{
"value": "B"
}
],
"Types": "Error"
},
"conclusion": "final"
}
]
}