After following TestDriven.io to deploy React code to AWS, I encounter this error:
This is not an issue in Local. Users API works as well. Only on client part I encounter this error. Any thoughts regarding this issue?
After following TestDriven.io to deploy React code to AWS, I encounter this error:
This is not an issue in Local. Users API works as well. Only on client part I encounter this error. Any thoughts regarding this issue?
Copyright © 2021 Jogjafile Inc.
The error is probably after the build. either users is undefined or passing null value which .map() cant loop over an array. Try keeping null validation before running .map()