score:0

your code docgenerated.documents.map(...) looks good, it doesn't seem to be the problem.

it might be you're missing the [ ] around documents in your sample redux state slice:

"documents": 
  {
    "documentname": "string",
    "documentstoreid": {{faker 'random.number'}},
    "documenttitle": "string"
  },

if that's the case you can't .map on documents because it's an object and not an array.


Related Query

More Query from same tag